You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added keygen --der option to allow ECC private key as ASN.1/DER. Added sign tool ECC key load support for ASN.1/DER private key (default is raw pub x/y, priv d). Refactored sign tool RSA/ECC logic to consolidate code and allow proper "auto" detection for different RSA key sizes.
Copy file name to clipboardExpand all lines: docs/Signing.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,10 +49,11 @@ Two options are supported:
49
49
50
50
-`-g privkey.der` to generate a new keypair, add the public key to the keystore and save the private key in a new file `privkey.der`
51
51
-`-i existing.der` to import an existing public key from `existing.der`
52
+
-`--der` save generated private key in DER format.
52
53
53
54
Arguments are not exclusive, and can be repeated more than once to populate a keystore with multiple keys.
54
55
55
-
One option must be specified to select the algorithm enabled in the keystore (e.g. `--ed25519` or `--rsa3072`. See the section "Public key signature options" for the sign tool for the available options.
56
+
One option must be specified to select the algorithm enabled in the keystore (e.g. `--ed25519` or `--rsa3072`). See the section "Public key signature options" for the sign tool for the available options.
56
57
57
58
The files generate by the keygen tool is the following:
58
59
@@ -175,6 +176,9 @@ is provided:
175
176
`BASE_SIGNED_IMG.BIN` and the new image signed starting from `IMAGE.BIN`. The
176
177
result is stored in a file ending in `_signed_diff.bin`.
177
178
179
+
The compression scheme used is Bentley–McIlroy.
180
+
181
+
178
182
#### Policy signing (for sealing/unsealing with a TPM)
179
183
180
184
Provides a PCR mask and digest to be signed and included in the header. The signing key is used to sign the digest.
0 commit comments