Re: gpg --card-status

2024-01-02 Thread Felix E. Klee
On Sat, Dec 30, 2023 at 11:30 PM Felix E. Klee wrote: > Example output with line numbers: > > 01 Reader ...: Yubico YubiKey CCID 00 00 > 02 Application ID ...: D276000124010304000618698015 > 03 Application type .: OpenPGP > 04 Version ..: 3.4 > 05

Re: gpg --card-status

2024-01-02 Thread Matthias Apitz
El día lunes, enero 01, 2024 a las 09:10:01p. m. +0100, Ingo Klöcker escribió: > On Montag, 1. Januar 2024 20:33:28 CET Matthias Apitz wrote: > > It seems from the man page that only '#' is documented: > > Must be an older version. The manual page of GnuPG 2.4.3 reads: You are correct: $ gpg

Re: gpg --card-status

2024-01-01 Thread Matthias Apitz
El día domingo, diciembre 31, 2023 a las 05:34:42p. m. +0100, Ingo Klöcker escribió: > On Samstag, 30. Dezember 2023 23:30:39 CET Felix E. Klee wrote: > > Line 25: “sec>” means secret primary key. Where does the key ID come > > from? Is it read from the card? Or it read from the public key ring

Re: gpg --card-status

2024-01-01 Thread Ingo Klöcker
On Montag, 1. Januar 2024 20:33:28 CET Matthias Apitz wrote: > It seems from the man page that only '#' is documented: Must be an older version. The manual page of GnuPG 2.4.3 reads: ‐K List the specified secret keys. If no keys are specified, then all known secret keys are

Re: gpg --card-status

2023-12-31 Thread Ingo Klöcker
On Samstag, 30. Dezember 2023 23:30:39 CET Felix E. Klee wrote: > Line 25: “sec>” means secret primary key. Where does the key ID come > from? Is it read from the card? Or it read from the public key ring on > disk? > > Line 27: “ssb>” means secret sub key. > > Line 29: “ssb#” means secret sub

gpg --card-status

2023-12-30 Thread Felix E. Klee
Example output with line numbers: 01 Reader ...: Yubico YubiKey CCID 00 00 02 Application ID ...: D276000124010304000618698015 03 Application type .: OpenPGP 04 Version ..: 3.4 05 Manufacturer .: Yubico 06 Serial number : 18698015 07 Name of

Re: gpg --card-status fails with Yubikey 5 under MSYS2

2021-02-23 Thread Werner Koch via Gnupg-users
On Tue, 23 Feb 2021 18:47, Doug Richardson said: > Under MSYS2, gpg --card-status fails with the following when trying to GnuPG is not intended to be build under MSYS. You need to cross-build from a real POSIX system using mingw. All other ways to build it are not supported and are stron

gpg --card-status fails with Yubikey 5 under MSYS2

2021-02-23 Thread Doug Richardson via Gnupg-users
Under MSYS2, gpg --card-status fails with the following when trying to use a Yubikey 5 NFC. $ gpg --card-status gpg: selecting card failed: No such device gpg: OpenPGP card not available: No such device This same command works when using Gpg4Win's gpg. This leads me to believe it's

Re: Security-Token: "No secret key" unless "gpg --card-status" first

2020-12-08 Thread Werner Koch via Gnupg-users
On Tue, 8 Dec 2020 10:03, Patrick Ben Koetter said: > $ gpg: Entschlüsselung fehlgeschlagen: Kein geheimer Schlüssel (gpg: decryption failed: No secret key) > $ gpg --version > gpg (GnuPG) 2.2.24 Please update to 2.2.25 because of * scd: Fix regression in 2.2.24 requiring gpg --ca

Security-Token: "No secret key" unless "gpg --card-status" first

2020-12-08 Thread Patrick Ben Koetter via Gnupg-users
Greetings, my PGP secret key is stored on a Yubikey security token and until recently I would simply plug it into my computer and use it to encrypt/decrypt data. This stopped working and now all I get is this unless I command gpg first to list the card status using "gpg --card-status&quo

Re: How to make "gpg --card-status" forget an old card

2016-03-15 Thread NIIBE Yutaka
gt; When I run gpg --card-status I see that it still associates the key > with the old key: > > > ~ » gpg --card-status > > arthur@a:13:32:50 > > Reader ...: 1050:0111:X:0 You are talking about GnuPG 2.1.x, right? IIUC, for now, there is no way t

How to make "gpg --card-status" forget an old card

2016-03-15 Thread Arthur Ulfeldt
I got a new Yubikee Neo and loaded my encryption key to it and generated new signing and authentication keys. everytime I try to decrypt a file using the new key, it asks me to insert the old key. (which i don't have here). When I run gpg --card-status I see that it still associates the key

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-29 Thread Simon Josefsson
. populate SSH_AUTH_SOCK 3. ssh successfully 4. remove yubikey 5. insert yubikey 6. attempt to ssh - Permission Denied (Publickey) 7. `gpg --card status` - no card present 8. `gpg --card status` (again) - Got usual card output 9. ssh successfully again What mode is your YubiKey NEO

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-18 Thread NIIBE Yutaka
status` - no card present 8. `gpg --card status` - no card present 9. `gpg --card status` - no card present 11. (...etc. it refused to come back this time) 12. killall gpg-agent 13. `gpg --card status` (again) - Got usual card output 14. ssh successfully again This is not reproducible here

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-18 Thread Lance R. Vick
. remove yubikey 5. insert yubikey 6. attempt to ssh - Permission Denied (Publickey) 7. `gpg --card status` - no card present 8. `gpg --card status` (again) - Got usual card output 9. ssh successfully again On Thu, Jun 18, 2015 at 1:32 AM, Werner Koch w...@gnupg.org wrote: On Wed, 17 Jun 2015 18

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-18 Thread Lance R. Vick
Another example I just had happen: 1. start gpg-agent 2. populate SSH_AUTH_SOCK 3. ssh successfully 4. remove yubikey 5. insert yubikey 6. attempt to ssh - Permission Denied (Publickey) 7. `gpg --card status` - no card present 8. `gpg --card status` - no card present 9. `gpg --card status

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-18 Thread Werner Koch
On Wed, 17 Jun 2015 18:17, si...@josefsson.org said: I've seen the error many times, also when I used a g10code smartcard, but lately things have been smooth. I think there have been a couple of Old versions of GnuPG assumed that there is a card reader which can tell you whether a card has

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-17 Thread NIIBE Yutaka
command is something equivalent of gpg --card-status internally. Any other GPG commands fail as well, such as sign/encrypt/auth, until 'gpg --card-status' is run to wake the card back up. I think you mean any direct commands of gpg-agent. Or there is some confusion. Gpg frontend certainly works

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-17 Thread Lance R. Vick
scd apdu 00 f1 00 00 is just a way to return a version number from a Yubikey GPG smartcard. Any other GPG commands fail as well, such as sign/encrypt/auth, until 'gpg --card-status' is run to wake the card back up. I would expect that when I perform a gpg command, it should query gpg-agent

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-17 Thread Kristian Fiskerstrand
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 06/17/2015 06:17 PM, Simon Josefsson wrote: NIIBE Yutaka gni...@fsij.org writes: Gpg frontend certainly works well for --sign, --decrypt after you remove your token and insert it again. Please try: (1) Insert token (2) Run gpg --card

Re: gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-17 Thread Simon Josefsson
NIIBE Yutaka gni...@fsij.org writes: Gpg frontend certainly works well for --sign, --decrypt after you remove your token and insert it again. Please try: (1) Insert token (2) Run gpg --card-status (3) Remove token (4) Run gpg --sign or gpg --decrypt SSH authentication also works well

gpg-agent unable to see yubikey until manually re-running `gpg --card-status`

2015-06-16 Thread Lance R. Vick
Very confused by this. Every time I insert my yubikey into a system I must do 'gpg --card-status' to make gpg-agent aware it exists again. Using: gpg/gpg-agent 2.1.4 Expected Results: 1. Insert yubikey 2. Issue version command to gpg agent 3. Version is reported 4. Remove and re-insert key 5