Skip to main content

All Questions

Tagged with
0 votes
0 answers
61 views

Windows YubiKey GPG works with putty but not terminal

I created three gpg subkeys stored on my YubiKey as described here. I added enable-ssh-support and enable-putty-support to my gpg-agent.conf file. Everything works when accessing a server with the ssh-...
user avatar
1 vote
2 answers
3k views

Unable to use Windows OpenSSH agent with GPG Agent and Yubikey

I have a Yubikey which has ed25519 certificates loaded onto it. One of these is an authentication certificate. I'm able to export the sha has of this by running gpg --export-ssh-key {key_id}, and ...
Desultory's user avatar
  • 318
1 vote
1 answer
824 views

GPG periodically loses connection to yubikey on monterey

The connection between gpg and my yubikey appears to periodically fail. Decryption attempts are met with the pinentry-mac dialog "please insert card with serial number X". gpg --card-status -...
user avatar
1 vote
0 answers
406 views

Best strategy after losing GPG/PGP key passphrase (but still access to YubiKey)

When I got my first YubiKey several years ago, I created a new GPG key specifically for it. After uploading the private key to the YubiKey (keytocard), I also stored an armored copy of the private key ...
nisc's user avatar
  • 1,112
1 vote
1 answer
4k views

gpg: decryption failed: No secret key

First, I spent an hour trying answers with similar titles so please read this through before flagging this question as a duplicate. I use a YubiKey to store my PGP private key using its smart card ...
sunknudsen's user avatar
  • 1,010
0 votes
1 answer
460 views

Mac GPG can't generate smartcard keys

Mac OS X Catalina 10.15.7, Homebrew GPG 2.2.23, brand new Yubikey 5C Nano, homebrew pinentry-mac 0.9.4 % gpg --card-edit Reader ...........: Yubico YubiKey OTP FIDO CCID Application ID ...: ...
AstraLuma's user avatar
  • 101
0 votes
0 answers
152 views

Strong encryption for a local file (PGP)

Just a quick disclaimer: I initially posted this question to Crypto site but was told it was too specific for that site. I am looking for a safe method to encrypt a local file on my machine. Let's ...
Proto Ukr's user avatar
  • 125
4 votes
1 answer
1k views

yubikey/gpg-agent always asking for my PIN when running git commit

recently, git has been asking me for my yubikey pin every 3 or 4 times after i've already typed in my pin. this didn't use to happen before. i'm thinking maybe the card isn't getting read correctly or ...
reuel's user avatar
  • 41
6 votes
1 answer
2k views

Is it possible to use macOS 'Keychain' + 'TouchID' for pinentry-program?

Is there some way of configuring pinentry-mac, which I currently use to enter the passphrase for my OpenPGP card (a Yubikey), or a different program that'll store the passphrase in the macOS 'Keychain'...
OJFord's user avatar
  • 631
-1 votes
1 answer
923 views

Using ssh key on Yubikey on Sourcetree program

I can not make sourcetree work with the ssh key that i have in my yubikey. Does anybody know how can i fix it? Thank you. P.D: I have tried different recommendations that i found on the internet, ...
thewolfx41's user avatar
0 votes
1 answer
651 views

Signing a message with a SmartCard / Yubikey

So I've gone through a pretty bog-standard GPG-key-setup process, and then used addtokey to move said keys onto a Yubikey 4. Now, on a fresh setup, I want to try and use those keys, to sign something....
ELLIOTTCABLE's user avatar
  • 2,535
1 vote
0 answers
66 views

GPG should fail silently when external card is not inserted, instead of asking over and over

I'm running Linux. I have a Yubikey 4, where my GPG subkeys are stored. On the computer, gpg-agent transparently uses these keys. The problem is when I don't have my Yubikey inserted. If anything ...
mkaito's user avatar
  • 2,082