Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for specifying an arbitrary Team ID #36

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

alfiecg24
Copy link

No description provided.

ldid.cpp Outdated
@@ -2268,6 +2269,10 @@ Hash Sign(const void *idata, size_t isize, std::streambuf &output, const std::st
get(common, name, NID_commonName);
}

if (flag_t != NULL) {
printf("ldid: Using team ID %s\n", flag_t);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe don’t print this. No other flag prints stuff when it’s in use.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, looks like I forgot to remove this from testing

@@ -3302,7 +3307,7 @@ static void usage(const char *argv0) {
fprintf(stderr, " host | kill | library-validation | restrict | runtime | linker-signed]] [-D] [-d]\n");
fprintf(stderr, " [-Enum:file] [-e] [-H[sha1 | sha256]] [-h] [-Iname]\n");
fprintf(stderr, " [-Kkey.p12 [-Upassword]] [-M] [-P[num]] [-Qrequirements.xml] [-q]\n");
fprintf(stderr, " [-r | -Sfile.xml | -s] [-w] [-u] [-arch arch_type] file ...\n");
fprintf(stderr, " [-r | -Sfile.xml | -s] [-w] [-u] [-tTeamID] [-arch arch_type] file ...\n");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What format is TeamID supposed to be in? Add this flag and the format to the manpage.

@alfiecg24
Copy link
Author

I'm not really sure how to update docs/ldid.1, I've never used man pages before. The Team ID is just a 10-character string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants