chore: added 0xlong format in gpg examples

This commit is contained in:
Michele Cereda
2023-04-12 00:02:06 +02:00
parent f63d6d5287
commit cc718b6fe9
2 changed files with 5 additions and 2 deletions

View File

@@ -130,8 +130,11 @@ gopass templates rm …
# List all recipients. # List all recipients.
gopass recipients gopass recipients
# Get the key ID in the format used by gopass.
gpg --list-keys --keyid-format '0xlong'
# Add recipients. # Add recipients.
gopass recipients add 'key-id' gopass recipients add 'key-id-in-0xlong-format'
gopass recipients add -s 'store' gopass recipients add -s 'store'
# Remove recipients # Remove recipients

View File

@@ -6,7 +6,7 @@
# List existing keys. # List existing keys.
gpg --list-keys gpg --list-keys
gpg --list-keys --keyid-format 'short' gpg --list-keys --keyid-format 'short'
gpg --list-secret-keys --with-keygrip gpg --list-secret-keys --with-keygrip --keyid-format '0xlong'
# Generate a new key. # Generate a new key.
gpg --gen-key gpg --gen-key