% tss2_verifysignature(1) tpm2-tools | General Commands Manual % % APRIL 2019
tss2_verifysignature(1) -
tss2_verifysignature [OPTIONS]
tss2_verifysignature(1) - This command verifies a signature using a public key found in the passed key path. The used signature verification scheme is specified in the cryptographic profile (cf., fapi-profile(5)).
These are the available options:
-
-d, --digest=FILENAME or - (for stdin):
The data that was signed, already hashed according to the cryptographic profile (cf., fapi-profile(5)).
-
-p, --keyPath=STRING:
Path to the verification public key.
-
-i, --signature=FILENAME or - (for stdin):
The signature to be verified.
tss2_verifysignature --keyPath=ext/myRSASign --digest=digest.file --signature=signature.file
0 on success or 1 on failure.