feat: update help message

This commit is contained in:
2025-07-19 10:34:22 +08:00
parent cd68188eb5
commit 17d7e172e3

View File

@@ -558,7 +558,7 @@ if (command == "help" || command == "-h" || command == "--help") {
print("generate_p256_ecdh_keypair --control-flag <> - generate Secure Enclave P256 EC DH key pair")
print("recover_p256_ecsign_public_key --private-key <> - recover Secure Enclave P256 EC sign key pair")
print("recover_p256_ecdh_public_key --private-key <> - recover Secure Enclave P256 EC DH key pair")
print("compute_p256_ecsign --private-key <> --message-base64 <> [--message-type] - compure Secure Enclave P256 EC sign")
print("compute_p256_ecsign --private-key <> --message-base64 <> [--message-type <>] - compure Secure Enclave P256 EC sign")
print("compute_p256_ecdh --private-key <> --ephemera-public-key <> - compure Secure Enclave P256 EC DH")
print("external_spec - external specification")
print("external_public_key --parameter <> - external public key")
@@ -568,6 +568,7 @@ if (command == "help" || command == "-h" || command == "--help") {
print("> --control-flag - none, userPresence, devicePasscode, biometryAny, biometryCurrentSet")
print("> --private-key - private key representation (dataRepresentationBase64)")
print("> --message-base64 - content in base64")
print("> --message-type - sha256 or raw(default)")
print("> --ephemera-public-key - public key der in base64")
exit(0)
}