Skip to content

Commit

Permalink
update sample outputs of key list cmd to match SingularityCE PR 1957
Browse files Browse the repository at this point in the history
Signed-off-by: jason yang <[email protected]>
  • Loading branch information
Omer Preminger authored and JasonYangShadow committed Mar 8, 2024
1 parent b6891f7 commit a367fff
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 38 deletions.
48 changes: 23 additions & 25 deletions key_commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,15 @@ The output will look as it follows:

Private key listing (/home/joana/.{command}/keys/pgp-secret):

0) U: Johnny Cash (none) <[email protected]>
C: 2019-04-11 22:22:28 +0200 CEST
F: 47282BDC661F58FA4BEBEF47CA576CBD8EF1A2B4
L: 3072
--------
1) U: John Green (none) <[email protected]>
C: 2019-04-11 13:08:45 +0200 CEST
F: 5720799FE7B048CF36FAB8445EE1E2BD7B6342C5
L: 1024
--------
0) User: Johnny Cash (none) <[email protected]>
Creation time: 2019-04-11 22:22:28 +0200 CEST
Fingerprint: 47282BDC661F58FA4BEBEF47CA576CBD8EF1A2B4
Length (in bits): 3072

1) User: John Green (none) <[email protected]>
Creation time: 2019-04-11 13:08:45 +0200 CEST
Fingerprint: 5720799FE7B048CF36FAB8445EE1E2BD7B6342C5
Length (in bits): 1024

.. note::

Expand Down Expand Up @@ -102,21 +101,20 @@ keystore by running ``{command} key list -s`` command:

Private key listing (/home/joana/.{command}/keys/pgp-secret):

0) U: Johnny Cash (none) <[email protected]>
C: 2019-04-11 22:22:28 +0200 CEST
F: 47282BDC661F58FA4BEBEF47CA576CBD8EF1A2B4
L: 3072
--------
1) U: John Green (none) <[email protected]>
C: 2019-04-11 13:08:45 +0200 CEST
F: 5720799FE7B048CF36FAB8445EE1E2BD7B6342C5
L: 1024
--------
3) U: Pinkie Pie (Eternal chaos comes with chocolate rain!) <[email protected]>
C: 2019-04-26 12:07:07 +0200 CEST
F: 8C10B902F438E4D504C3ACF689FCFFAED5F34A77
L: 1024
--------
1) User: Johnny Cash (none) <[email protected]>
Creation time: 2019-04-11 22:22:28 +0200 CEST
Fingerprint: 47282BDC661F58FA4BEBEF47CA576CBD8EF1A2B4
Length (in bits): 3072

2) User: John Green (none) <[email protected]>
Creation time: 2019-04-11 13:08:45 +0200 CEST
Fingerprint: 5720799FE7B048CF36FAB8445EE1E2BD7B6342C5
Length (in bits): 1024

3) User: Pinkie Pie (Eternal chaos comes with chocolate rain!) <[email protected]>
Creation time: 2019-04-26 12:07:07 +0200 CEST
Fingerprint: 8C10B902F438E4D504C3ACF689FCFFAED5F34A77
Length (in bits): 1024

You will see the imported key at the bottom of the list. Remember you
can also import an ``ascii`` armored key and this will be automatically
Expand Down
17 changes: 4 additions & 13 deletions signNverify.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,10 @@ or saved locally.
Public key listing (/home/ian/.{command}/keys/pgp-public):
0) U: Ian Kaneshiro (example key) <[email protected]>
C: 2022-02-23 15:12:19 -0800 PST
F: 8232570480B868E1473AEEB03DBCBA1EE9D661E5
L: 4096
--------
In the output above the index of my key is ``0`` and the letters stand
for the following:

- U: User
- C: Creation date and time
- F: Fingerprint
- L: Key length
0) User: Ian Kaneshiro (example key) <[email protected]>
Creation time: 2022-02-23 15:12:19 -0800 PST
Fingerprint: 8232570480B868E1473AEEB03DBCBA1EE9D661E5
Length (in bits): 4096
If you would like others in the community to easily be able to fetch your
public key for image verification, you can push your key to a public keyserver.
Expand Down

0 comments on commit a367fff

Please sign in to comment.