ususdei / qute-keepassxc

Qutebrowser userscript to fetch credentials from KeepassXC password database
MIT License
54 stars 10 forks source link

How do I get my actual GPG key? #10

Open OrionRandD opened 3 years ago

OrionRandD commented 3 years ago

"... Remember to replace ABC1234 with your actual GPG key..."

How do I get my actual GPG key? What is the cli command for this?

I have got a fingerprint with

gpg --fingerprint $USER

The number is very big, then I put it in the spawn --key field and qutebrowser throws me an error

ususdei commented 3 years ago

The keyid can be anything gnupg understands as a recipient identifier. So this can either be the keys email-address or the fingerprint in its long or shorter forms.

You can get the short form e.g. with gpg -K --keyid-format short after the key format. The full fingerprint should also work - just remember to omit or quote the spaces properly.

HelmicNewciv commented 2 years ago

Gotta say, loving the extension so far. Just wanted to mention this feature would be appreciated, since I gotta go open KeePassXC by hand right now to fetch the TOTP.

ususdei commented 2 years ago

Hi @HelmicNewciv , did you intend to comment on #6 ? In that case, you should give the latest update a try :-)