Update "qubes-gpg-client --list-keys" example

Updated example with modern output including the "long" key id format.
This commit is contained in:
NitrogenPointBlue 2022-08-16 00:21:06 -04:00
parent 28281ee474
commit f05c764c63
No known key found for this signature in database
GPG Key ID: 99BCECD68615F472

View File

@ -239,15 +239,19 @@ The most basic `~/.gitconfig` file enabling Split GPG looks something like this.
program = qubes-gpg-client-wrapper program = qubes-gpg-client-wrapper
``` ```
Your key id is the public id of your signing key, which can be found by running `qubes-gpg-client -k`. Your key id is the public id of your signing key, which can be found by running `qubes-gpg-client --list-keys`.
In this instance, the key id is DD160C74. In this instance, the key id is E142F75A6B1B610E0E8F874FB45589245791CACB.
```shell_session ```shell_session
[user@work-email ~]$ qubes-gpg-client -k [user@work-email ~]$ qubes-gpg-client --list-keys
/home/user/.gnupg/pubring.kbx /home/user/.gnupg/pubring.kbx
----------------------------- -----------------------------
pub rsa4096/DD160C74 2016-04-26 pub ed25519 2022-08-16 [C]
uid Qubes User E142F75A6B1B610E0E8F874FB45589245791CACB
uid [ultimate] Qubes User <user@example.com>
sub ed25519 2022-08-16 [S]
sub cv25519 2022-08-16 [E]
sub ed25519 2022-08-16 [A]
``` ```
To sign commits, you now add the "-S" flag to your commit command, which should prompt for Split GPG usage. To sign commits, you now add the "-S" flag to your commit command, which should prompt for Split GPG usage.