VirtualBox

Changeset 96764 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 16, 2022 9:11:47 AM (2 years ago)
Author:
vboxsync
Message:

RTSignTool: Added --input argument aliases for --exe to simplify certificate extraction for the GA installer. Corrected --help for the two new root extraction commands. bugref:8691.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/tools/RTSignTool.cpp

    r96755 r96764  
    31713171    RT_NOREF_PV(enmLevel);
    31723172    RTStrmWrappedPrintf(pStrm, RTSTRMWRAPPED_F_HANGING_INDENT,
    3173                         "extract-exe-signer-cert [--ber|--cer|--der] [--signature-index|-i <num>] [--exe|-e] <exe> [--output|-o] <outfile.cer>\n");
     3173                        "extract-exe-signer-cert [--ber|--cer|--der] [--signature-index|-i <num>] [--input|--exe|-e] <exe> [--output|-o] <outfile.cer>\n");
    31743174    return RTEXITCODE_SUCCESS;
    31753175}
     
    32193219        { "--der",              'd', RTGETOPT_REQ_NOTHING },
    32203220        { "--exe",              'e', RTGETOPT_REQ_STRING  },
     3221        { "--input",            'e', RTGETOPT_REQ_STRING  },
    32213222        { "--output",           'o', RTGETOPT_REQ_STRING  },
    32223223        { "--signature-index",  'i', RTGETOPT_REQ_UINT32  },
     
    37803781            case 'q':   State.cVerbosity = 0; break;
    37813782            case 'V':   return HandleVersion(cArgs, papszArgs);
    3782             case 'h':   return HelpExtractExeSignerCert(g_pStdOut, RTSIGNTOOLHELP_FULL);
     3783            case 'h':   return HelpExtractRootCommon(g_pStdOut, RTSIGNTOOLHELP_FULL, fTimestamp);
    37833784
    37843785            case VINF_GETOPT_NOT_OPTION:
     
    38313832    RT_NOREF_PV(enmLevel);
    38323833    RTStrmWrappedPrintf(pStrm, RTSTRMWRAPPED_F_HANGING_INDENT,
    3833                         "extract-exe-signerature [--exe|-e] <exe> [--output|-o] <outfile.pkcs7>\n");
     3834                        "extract-exe-signerature [--input|--exe|-e] <exe> [--output|-o] <outfile.pkcs7>\n");
    38343835    return RTEXITCODE_SUCCESS;
    38353836}
     
    38433844    {
    38443845        { "--exe",              'e', RTGETOPT_REQ_STRING  },
     3846        { "--input",            'e', RTGETOPT_REQ_STRING  },
    38453847        { "--output",           'o', RTGETOPT_REQ_STRING  },
    38463848        { "--force",            'f', RTGETOPT_REQ_NOTHING  },
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette