Browse Source

Always better visibility

pull/1/head
Julien Escario 4 years ago
parent
commit
350a524a04
  1. 24
      ssh/yubibug.md

24
ssh/yubibug.md

@ -23,7 +23,7 @@ Admin PIN: 12345678
</pre>
Good, let's start with key generation :
<pre>
$ gpg --card-edit
$ <b>gpg --card-edit</b>
gpg: directory '/home/user/.gnupg' created
gpg: keybox '/home/user/.gnupg/pubring.kbx' created
@ -48,21 +48,19 @@ Good, let's start with key generation :
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]
gpg/card> admin
Admin commands are allowed
gpg/card> admin
gpg/card> <b>admin</b>
Admin commands are allowed
gpg/card> key-attr
gpg/card> <b>key-attr</b>
Changing card key attribute for: Signature key
Please select what kind of key you want:
(1) RSA
(2) ECC
Your selection? 2
Your selection? <b>2</b>
Please select which elliptic curve you want:
(1) Curve 25519
(4) NIST P-384
Your selection? 1
Your selection? <b>1</b>
The card will now be re-configured to generate a key of type: ed25519
Note: There is no guarantee that the card supports the requested size.
If the key generation does not succeed, please check the
@ -71,24 +69,24 @@ Good, let's start with key generation :
Please select what kind of key you want:
(1) RSA
(2) ECC
Your selection? 2
Your selection? <b>2</b>
Please select which elliptic curve you want:
(1) Curve 25519
(4) NIST P-384
Your selection? 1
Your selection? <b>1</b>
The card will now be re-configured to generate a key of type: cv25519
Changing card key attribute for: Authentication key
Please select what kind of key you want:
(1) RSA
(2) ECC
Your selection? 2
Your selection? <b>2</b>
Please select which elliptic curve you want:
(1) Curve 25519
(4) NIST P-384
Your selection? 1
Your selection? <b>1</b>
The card will now be re-configured to generate a key of type: ed25519
gpg/card> generate
gpg/card> <b>generate</b>
Make off-card backup of encryption key? (Y/n) n
Please note that the factory settings of the PINs are
@ -103,7 +101,7 @@ Good, let's start with key generation :
<n>y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) y
Is this correct? (y/N) <b>y</b>
GnuPG needs to construct a user ID to identify your key.

Loading…
Cancel
Save