-
Notifications
You must be signed in to change notification settings - Fork 0
Submit public PGP key
Cédric Clerget edited this page Feb 8, 2021
·
1 revision
In this example we assume that keyserver public URL is http://spks.example.com
and the mail verification is enabled:
-
Create a new keypair with Singularity:
singularity key newpair [email protected] --name="John Doe" --comment="Signing key" --push=false Enter a passphrase: **** Retype your passphrase: **** Generating Entity and OpenPGP Key Pair... done NOT pushing newly created key to: https://keys.sylabs.io
-
Retrieve key fingerprint:
singularity key list Public key listing (/home/user/.singularity/sypgp/pgp-public): 0) U: John Doe (Signing key) <[email protected]> C: 2020-07-28 14:22:19 +0200 CEST F: D1B2B32B87D65FB39D2C9908B84B5CE669411080 L: 4096 --------
-
First push of the key to
http://spks.example.com
for validation:singularity key push -u http://spks.example.com D1B2B32B87D65FB39D2C9908B84B5CE669411080
During this first push, the keyserver send a mail to
[email protected]
containing the key push command to execute to finalize the key submission. -
Second push of the key to
http://spks.example.com
for:The server has sent a key push command with a token associated to validate the key submission, the command should be of the form :
singularity key push -u http://[email protected] B84B5CE669411080