Page MenuHome GnuPG
Feed Advanced Search

May 23 2022

gniibe added a comment to T5984: gpg-agent interaction improvement (smartcard improvement #3).

The order to solve:

May 23 2022, 3:39 AM · ssh, gpgagent, scd
gniibe triaged T5996: ssh,card: "Use-for-ssh:" (was: OpenPGP.3) keys should be on the list even when card is not available as Normal priority.
May 23 2022, 3:35 AM · ssh, gpgagent, scd
gniibe edited projects for T5988: agent: Add new command to update private key fields, added: Feature Request; removed scd.
May 23 2022, 3:27 AM · Feature Request, ssh, gpgagent
gniibe edited projects for T5985: private-key: Support "Use-for-ssh" flag, added: Feature Request; removed scd.
May 23 2022, 3:26 AM · Feature Request, ssh, gpgagent
gniibe lowered the priority of T5985: private-key: Support "Use-for-ssh" flag from Normal to Low.
May 23 2022, 3:24 AM · Feature Request, ssh, gpgagent
gniibe triaged T5995: Better prompt with SETKEYDESC as Normal priority.
May 23 2022, 3:15 AM · gnupg24, ssh, gpgagent, scd
gniibe added a comment to T5985: private-key: Support "Use-for-ssh" flag.

This is an experimental patch to support "Use-for-ssh":

May 23 2022, 2:55 AM · Feature Request, ssh, gpgagent

May 20 2022

werner triaged T5990: Option to ignore the user trustlist.txt as Normal priority.
May 20 2022, 9:18 AM · Restricted Project, Restricted Project, gnupg (gpg22), S/MIME, gpgagent
gniibe added a comment to T5985: private-key: Support "Use-for-ssh" flag.

cmd_keyinfo should be also updated to access the field correctly.

May 20 2022, 7:59 AM · Feature Request, ssh, gpgagent
gniibe added a project to T5986: card: Show "Label:" when prompting the insertion of a card: Restricted Project.
May 20 2022, 7:41 AM · ssh, gpgagent, scd
gniibe added subtasks for T5984: gpg-agent interaction improvement (smartcard improvement #3): T5099: Confirmation dialog for remote access (restricted extra socket), T5702: Display prompt to user when YubiKey is waiting for touch confirmation.
May 20 2022, 6:53 AM · ssh, gpgagent, scd
gniibe renamed T5984: gpg-agent interaction improvement (smartcard improvement #3) from smartcard interaction improvement #3 to gpg-agent interaction improvement ( (smartcard improvement #3).
May 20 2022, 6:39 AM · ssh, gpgagent, scd
gniibe triaged T5988: agent: Add new command to update private key fields as Normal priority.
May 20 2022, 6:38 AM · Feature Request, ssh, gpgagent
gniibe triaged T5987: card: New field to specify refusing operations when card/token is not available as Normal priority.
May 20 2022, 6:33 AM · ssh, gpgagent, scd
gniibe added a comment to T5986: card: Show "Label:" when prompting the insertion of a card.

Also, it is better for a user, not to be asked confirmation (even if "Confirm:" is specified), that is, skipping the confirmation, when it is going to prompt the insertion of a card.

May 20 2022, 6:29 AM · ssh, gpgagent, scd
gniibe triaged T5986: card: Show "Label:" when prompting the insertion of a card as Normal priority.
May 20 2022, 6:27 AM · ssh, gpgagent, scd
gniibe triaged T5985: private-key: Support "Use-for-ssh" flag as Normal priority.
May 20 2022, 6:23 AM · Feature Request, ssh, gpgagent
gniibe triaged T5984: gpg-agent interaction improvement (smartcard improvement #3) as Normal priority.
May 20 2022, 6:21 AM · ssh, gpgagent, scd

May 13 2022

werner added projects to T3391: cannot import subkey that was once marked to be on a card: scd, gpgagent.
May 13 2022, 2:43 PM · Restricted Project, gpgagent, scd, gnupg, OpenPGP, Bug Report

May 12 2022

ikloecker changed the status of T5972: Can't insert charaters in a magic-wand generated password from Open to Testing.

Editing a formatted password should work now as expected.

May 12 2022, 4:08 PM · Restricted Project, gnupg (gpg22), gpgagent, pinentry
ikloecker added a project to T5972: Can't insert charaters in a magic-wand generated password : Restricted Project.
May 12 2022, 2:18 PM · Restricted Project, gnupg (gpg22), gpgagent, pinentry
ebo reassigned T5972: Can't insert charaters in a magic-wand generated password from ebo to ikloecker.
May 12 2022, 11:51 AM · Restricted Project, gnupg (gpg22), gpgagent, pinentry
ebo added a comment to T5972: Can't insert charaters in a magic-wand generated password .

Its an issue of cursor position. If one either deletes or inputs a a character anywhere in the password string, the cursor always jumps to the end of the string.

May 12 2022, 11:50 AM · Restricted Project, gnupg (gpg22), gpgagent, pinentry

May 11 2022

werner triaged T5972: Can't insert charaters in a magic-wand generated password as Normal priority.
May 11 2022, 5:18 PM · Restricted Project, gnupg (gpg22), gpgagent, pinentry

May 3 2022

gniibe added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).

Nitrokey Start uses Gnuk as its firmware. You need to upgrade its firmware to version 1.2.16 or newer.
Please note that when upgrading the firmware, your keys will be removed.

May 3 2022, 10:43 AM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent

May 2 2022

amalon added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).

Its a nitrokey start. I gave it another spin just to make sure, and again when updating to openssh 9.0 and "gpg (GnuPG) 2.3.6-unknown", it fails (again with careful gpgconf --kill gpg-agent etc. Double checked the downloaded source code by arch's makepkg, appears to have that patch applied. Also tried adding -o KexAlgorithms=-sntrup761x25519-sha512@openssh.com to the ssh command, which didn't help.

May 2 2022, 10:36 PM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent
gniibe added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).

Please describe what token is used. For my use cases with rGe8fb8e2b3e66: scd: Don't inhibit SSH authentication for larger data if it can., both of Gnuk (>= 1.2.16) and Yubikey (>= 5) work well.

May 2 2022, 1:53 AM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent

Apr 29 2022

dkg added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).

this looks similar to https://dev.gnupg.org/T5935 and https://bugs.debian.org/1008573

Apr 29 2022, 6:24 PM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent

Apr 28 2022

ikloecker added a comment to T5942: scdaemon is blocking system shutdown.

FWIW, your comments about the autostart script do not match with the running processes. Obviously, the autostart script starts gpg-agent with different command line options than the running process. My conclusion is that the autostart script isn't used. Or maybe it is started, but gpg-agent immediately terminates because it notices that another instance is already running.

Apr 28 2022, 10:12 AM · Support, scd, gpgagent
ikloecker added a comment to T5942: scdaemon is blocking system shutdown.

If you add an autostart script then you may have to add a corresponding shutdown script as well, e.g. a script running gpgconf --kill all. You cannot expect that daemons, that you start via an autostart script, magically know when they should terminate.

Apr 28 2022, 10:01 AM · Support, scd, gpgagent
amalon added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).

FYI, I built 2.3.6 using a modified archlinux PKGBUILD (& disabling patches to avoid conflicts), then did:
gpgconf --kill gpg-agent
gpgconf --launch gpg-agent
but ssh still fails as before

Apr 28 2022, 9:16 AM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent
werner lowered the priority of T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required) from High to Normal.
Apr 28 2022, 8:55 AM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent
werner triaged T5942: scdaemon is blocking system shutdown as Low priority.
Apr 28 2022, 8:48 AM · Support, scd, gpgagent
szotsaki added a comment to T5942: scdaemon is blocking system shutdown.

Thank you for the hints!

Apr 28 2022, 8:24 AM · Support, scd, gpgagent
gniibe reopened T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Open.
Apr 28 2022, 4:39 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe reopened T5942: scdaemon is blocking system shutdown as "Open".

Thank you for the explanation. (It's not related to --supervised, I suppose.)

Apr 28 2022, 4:03 AM · Support, scd, gpgagent

Apr 27 2022

szotsaki added a comment to T5942: scdaemon is blocking system shutdown.

I see the following GPG-related commands running currently (with disable-scdaemon in config file):

Apr 27 2022, 6:06 PM · Support, scd, gpgagent

Apr 25 2022

werner closed T5942: scdaemon is blocking system shutdown as Wontfix.

Please contact the Debian developers for any systemd/gnupg issues. We don't suggest the use of the --supervised option because it causes more problems than it claims to solve.

Apr 25 2022, 11:53 AM · Support, scd, gpgagent
szotsaki created T5942: scdaemon is blocking system shutdown.
Apr 25 2022, 8:15 AM · Support, scd, gpgagent

Apr 22 2022

gniibe closed T5538: gpg-agent's keytocard cmd should use a better default creation time. as Resolved.
Apr 22 2022, 6:49 AM · gpgagent, gnupg (gpg23)
gniibe added projects to T5917: gpg-agent: Not writing password into file: Restricted Project, gpgagent, Bug Report.
Apr 22 2022, 6:43 AM · Bug Report, gpgagent

Apr 14 2022

werner triaged T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required) as High priority.

I have not yet tested OpenSSH 9 and thus the patch to master is here just as a test. Please better use gnupg 2.3 (stable) instead of 2.2 (LTS) because it is unlikely that we will backport all this new ssh stuff.

Apr 14 2022, 12:36 PM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent
amalon created T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).
Apr 14 2022, 9:17 AM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent

Mar 30 2022

gniibe requested review of D550: gnupg: No writing passphrase as a file.
Mar 30 2022, 8:48 AM · gpgagent

Mar 25 2022

gniibe claimed T5538: gpg-agent's keytocard cmd should use a better default creation time..

Implemented.

Mar 25 2022, 6:16 AM · gpgagent, gnupg (gpg23)

Mar 16 2022

gniibe closed T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Resolved.
Mar 16 2022, 3:07 PM · gnupg, Restricted Project, gpgagent, Bug Report

Mar 2 2022

dpereira added a comment to T4588: gpg-agent should guess pinentry's full path (using $PATH) if `pinentry-program` does not supply a full path.

What about at least accepting env variables OR tilde expansions? That will make it easier to integrate with dotfiles that intentionally use a home-dir based executable without having to pass the full path, so it could work cross platforms.

Mar 2 2022, 8:12 PM · gnupg24, gpgagent

Jan 17 2022

vitusb added a comment to T5783: All s2k hardenings silently ignored when exporting private keys.

Sending a private key with just the local protection is not a good idea.

Jan 17 2022, 6:11 PM · Not A Bug, gpgagent, OpenPGP, gpg4win, gnupg
werner closed T5783: All s2k hardenings silently ignored when exporting private keys as Resolved.

Sending a private key with just the local protection is not a good idea. It is better to export the key and then send it in an encrypted mail - for example in symmetric mode with a strong password.

Jan 17 2022, 10:48 AM · Not A Bug, gpgagent, OpenPGP, gpg4win, gnupg
werner changed the edit policy for T5783: All s2k hardenings silently ignored when exporting private keys.
Jan 17 2022, 10:39 AM · Not A Bug, gpgagent, OpenPGP, gpg4win, gnupg
werner changed the edit policy for T5784: Prioritization of weak Brainpool-Curves, when de-vs aka VS-NfD mode is activated (compliance de-vs).
Jan 17 2022, 10:36 AM · Not A Bug, gpg4win, gnupg
aheinecke closed T4777: Pinentry sometimes mixes languages as Resolved.

Saw this again and the commit was not in the Stable 2.2 branch. I have cherry picked it. This should resolve this issue.

Jan 17 2022, 9:02 AM · gnupg (gpg23), S/MIME, gpgagent

Jan 16 2022

vitusb renamed T5783: All s2k hardenings silently ignored when exporting private keys from All s2k hardenings silently ignored when doin an export of private keys to All s2k hardenings silently ignored when exporting private keys.
Jan 16 2022, 2:10 PM · Not A Bug, gpgagent, OpenPGP, gpg4win, gnupg
vitusb raised the priority of T5784: Prioritization of weak Brainpool-Curves, when de-vs aka VS-NfD mode is activated (compliance de-vs) from High to Needs Triage.
Jan 16 2022, 12:26 PM · Not A Bug, gpg4win, gnupg
vitusb raised the priority of T5783: All s2k hardenings silently ignored when exporting private keys from High to Needs Triage.
Jan 16 2022, 12:25 PM · Not A Bug, gpgagent, OpenPGP, gpg4win, gnupg

Jan 15 2022

vitusb triaged T5784: Prioritization of weak Brainpool-Curves, when de-vs aka VS-NfD mode is activated (compliance de-vs) as High priority.
Jan 15 2022, 3:53 PM · Not A Bug, gpg4win, gnupg
vitusb triaged T5783: All s2k hardenings silently ignored when exporting private keys as High priority.
Jan 15 2022, 3:12 PM · Not A Bug, gpgagent, OpenPGP, gpg4win, gnupg

Nov 25 2021

gniibe reopened T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Open.
Nov 25 2021, 6:14 AM · gnupg, Restricted Project, gpgagent, Bug Report

Nov 23 2021

werner closed T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Resolved.
Nov 23 2021, 9:15 AM · gnupg, Restricted Project, gpgagent, Bug Report

Nov 13 2021

werner set Due Date to Apr 30 2022, 12:00 AM on T5684: Allow to categorize X.509 PKIs.
Nov 13 2021, 12:37 PM · Restricted Project, S/MIME, kleopatra, gpgagent
werner triaged T5684: Allow to categorize X.509 PKIs as Normal priority.
Nov 13 2021, 12:35 PM · Restricted Project, S/MIME, kleopatra, gpgagent

Oct 13 2021

bernhard added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@rupor-github no problem for the delay. Thanks for explaining!

Oct 13 2021, 9:00 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Oct 12 2021

rupor-github added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@bernhard Sorry for the delayed answer, was on sabbatical.

Oct 12 2021, 4:56 PM · Not A Bug, workaround, gnupg24, Windows, ssh

Sep 29 2021

bernhard added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@rupor-github no problem! :)

Sep 29 2021, 3:50 PM · Not A Bug, workaround, gnupg24, Windows, ssh

Sep 28 2021

rupor-github added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@bernhard thank you for explaining, did not mean to offend anybody. Before creating win-gpg-agent I tried to read as much as I could on a history and obviously had to study source a bit. Be it as it may - I decided to have separate wrapper, rather then contributing directly to gpg code base. There is noticable number of use cases on Windows which presently not addressed, some I believe are sitting it the queue already.

Sep 28 2021, 6:53 PM · Not A Bug, workaround, gnupg24, Windows, ssh
bernhard added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

@rupor-github thanks for your explanations and the contribution to the GnuPG and crypto Free Software code base!

Sep 28 2021, 5:58 PM · Not A Bug, workaround, gnupg24, Windows, ssh
rupor-github added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Since Windows user naively could expect multiple methods of accessing certificates from different programs (or sometimes from the same program but different supported environments, like Git4Win and git in WSL) to work together transparently, win-gpg-agent covers translation of one accidentally supported method (32 bit putty shared memory) to multiple unsupported ones (named pipe, cygwin, etc). It also takes care of managing gpg-agent.exe lifetime tying it to user login session for convenience. It uses command line parameters to only to overwrite staff critical to its functionality and does not prevent user from having configuration file(s). Optionally it provides pinentry which is integrated with Windows native Crypto Vault and UX rather than using wonderful QT or GTK. As specified in documentation when developers of gpg and WIndows will get their act together and figure out what they want and how they want it - most of functionality would not be needed. I would like to point out that simply claiming superiority and not supporting cygwin (Git4Win) or working Assuan ssh socket or putty shared memory in 64 bits Windows build does not help with user experience a single bit.

Sep 28 2021, 4:34 PM · Not A Bug, workaround, gnupg24, Windows, ssh
werner added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Lots of detailed documentation but frankly, after a brief read I have not yet figured out what it really does. We won't support Cygwin stuff - this is all obsolete and awe also removed starting gpg-agent as a service for good reasons. Instead of starting gpg-agent with lot of command line args it would be better to put this into a per user or system wide config file.

Sep 28 2021, 10:13 AM · Not A Bug, workaround, gnupg24, Windows, ssh
bernhard added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

There is a user report that got things to work with https://github.com/rupor-github/win-gpg-agent
on https://wald.intevation.org/forum/forum.php?thread_id=2359&forum_id=21&group_id=11

Sep 28 2021, 9:03 AM · Not A Bug, workaround, gnupg24, Windows, ssh

Sep 14 2021

werner closed T5322: gpg erroring when the terminal is too small to show the ncurses pinentry dialog as Resolved.
Sep 14 2021, 1:56 PM · gnupg (gpg22), gpgagent, pinentry, Bug Report

Aug 13 2021

werner changed the edit policy for gpgagent.
Aug 13 2021, 11:02 PM

Jul 30 2021

werner triaged T5538: gpg-agent's keytocard cmd should use a better default creation time. as Normal priority.
Jul 30 2021, 1:24 PM · gpgagent, gnupg (gpg23)

Jun 25 2021

werner added a comment to T5322: gpg erroring when the terminal is too small to show the ncurses pinentry dialog.

That might depend on your pinentry version. With a pre-1.1.1 pinentry and 2.2.28 I get this:

Jun 25 2021, 11:12 AM · gnupg (gpg22), gpgagent, pinentry, Bug Report

May 12 2021

lbogdan updated the task description for T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.
May 12 2021, 12:53 PM · gnupg24, yubikey, Bug Report
lbogdan created T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.
May 12 2021, 12:51 PM · gnupg24, yubikey, Bug Report

May 6 2021

aheinecke triaged T5424: GnuPG w32: Expand environment variables when reading registry paths as Normal priority.
May 6 2021, 12:03 PM · gnupg (gpg22), Restricted Project

Feb 26 2021

werner added a comment to T4777: Pinentry sometimes mixes languages.

The show error is due a missing translation. What happened was that the translation was marked fuzzy and this marker was removed not realizing that the string really changed. The change was "...in the GnuPG system" -> "...in the %s system" which had been done to allow for different gpg names.

Feb 26 2021, 1:54 PM · gnupg (gpg23), S/MIME, gpgagent

Feb 25 2021

aheinecke added a comment to T4777: Pinentry sometimes mixes languages.

Start from scratch on a german system, even when you do a gpg --version it shows it is in german. Then import a PKCS#12 container and the dialog is in english.

Feb 25 2021, 5:16 PM · gnupg (gpg23), S/MIME, gpgagent
werner claimed T4777: Pinentry sometimes mixes languages.

A wild guess is that the different envvar systems we have in use are the culprit. It is anyway time to get this straight.

Feb 25 2021, 5:14 PM · gnupg (gpg23), S/MIME, gpgagent

Feb 24 2021

Aster89 added a comment to T5322: gpg erroring when the terminal is too small to show the ncurses pinentry dialog.

As suggested in the linked question on stackexchange, I think that even if the error comes from the pinentry program, GnuPG could echo a more informative error than gpg: decryption failed: No secret key, such as terminal to little to show the pinetnry program, or something similar.

Feb 24 2021, 2:37 PM · gnupg (gpg22), gpgagent, pinentry, Bug Report

Feb 23 2021

werner triaged T5322: gpg erroring when the terminal is too small to show the ncurses pinentry dialog as Normal priority.

Thanks for the report. Frankly the curses pinentries are not that widely tested.

Feb 23 2021, 5:02 PM · gnupg (gpg22), gpgagent, pinentry, Bug Report

Feb 17 2021

werner closed T5270: gpg-agent crashes during signing: free(): invalid pointer as Resolved.
Feb 17 2021, 8:47 AM · libgcrypt, gpgagent, Bug Report

Feb 10 2021

werner closed T3108: gpgconf lists the wrong extra socket path when a path is explicitly configured in gpg-agent.conf as Wontfix.
Feb 10 2021, 11:39 AM · gnupg (gpg23), gpgagent
werner lowered the priority of T4338: gpg-agent fails to start on Windows if GNUPGHOME is longer than 80 characters from Normal to Low.
Feb 10 2021, 11:32 AM · Windows, gpgagent, Bug Report
werner closed T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path as Resolved.

The now used /var/run thingy solves all these problems nicely. In fact we may eventually remove the use fallback of using sockets in the GNUPGHOMEDIR.

Feb 10 2021, 11:29 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Jan 30 2021

werner triaged T5281: gpg-agent / pinentry: allow to pause/mute passphrase requests for a while as Normal priority.
Jan 30 2021, 12:10 PM · gpgagent, pinentry, Feature Request

Jan 28 2021

gniibe closed T5114: GnuPG fails to import back generated and exported EdDSA secret key. as Resolved.
Jan 28 2021, 2:57 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe closed T5116: GnuPG master shows an error when importing Ed25519 keys generated, a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Resolved.
Jan 28 2021, 2:55 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe changed the status of T5270: gpg-agent crashes during signing: free(): invalid pointer from Open to Testing.
Jan 28 2021, 12:35 AM · libgcrypt, gpgagent, Bug Report
gniibe claimed T5270: gpg-agent crashes during signing: free(): invalid pointer.

See T5267: Ed25519 backward compatible private key support for preceding ZERO(s) for the fix.

Jan 28 2021, 12:34 AM · libgcrypt, gpgagent, Bug Report

Jan 27 2021

J created T5270: gpg-agent crashes during signing: free(): invalid pointer.
Jan 27 2021, 12:09 PM · libgcrypt, gpgagent, Bug Report

Jan 26 2021

gniibe removed a project from T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned: libgcrypt.
Jan 26 2021, 4:51 AM · gpgagent, gnupg
gniibe closed T4964: ecc: Discrepancy of handling MPI for the interpretation of signed and unsigned, a subtask of T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned, as Resolved.
Jan 26 2021, 4:48 AM · gpgagent, gnupg

Jan 8 2021

gniibe added a comment to T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned.

rG47c1c329ed82: agent,ecc: Use of opaque MPI for ECC, fixup 'd'. does the fixup when reading keys.

Jan 8 2021, 4:18 AM · gpgagent, gnupg

Jan 6 2021

rupor-github added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

I wrote https://github.com/rupor-github/win-gpg-agent to simplify usage on Windows until this issue is resolved - it handles various edge cases on Windows.

Jan 6 2021, 7:25 PM · Not A Bug, workaround, gnupg24, Windows, ssh

Dec 16 2020

gniibe reopened T4563: gpg-agent fails to sign request of PKISSH as "Open".
Dec 16 2020, 1:43 AM · Feature Request, gpgagent
gniibe closed T4563: gpg-agent fails to sign request of PKISSH as Wontfix.
Dec 16 2020, 1:42 AM · Feature Request, gpgagent
gniibe added a comment to T4563: gpg-agent fails to sign request of PKISSH.

If your problem is the incompatibility between standard OpenSSH (server) and PKIXSSH (client) for use of ssh-agent emulation of gpg-agent with ECDSA key, I'd suggest to apply following patch to your PKIXSSH:

diff --git a/compat.c b/compat.c
index fe71951..0c9b1ef 100644
--- a/compat.c
+++ b/compat.c
@@ -245,7 +245,6 @@ xkey_compatibility(const char *remote_version) {
 {	static sshx_compatibility info[] = {
 		{ 0, "OpenSSH*PKIX[??.*" /* 10.+ first correct */ },
 		{ 0, "OpenSSH*PKIX[X.*" /* developlement */ },
-		{ 1, "OpenSSH*" /* PKIX pre 10.0 */ },
 		{ 1, "SecureNetTerm-3.1" /* same as PKIX pre 10.0 */},
 		{ 0, NULL } };
 	p = xkey_compatibility_find(remote_version, info);
Dec 16 2020, 12:58 AM · Feature Request, gpgagent

Dec 14 2020

gniibe added a comment to T4563: gpg-agent fails to sign request of PKISSH.

Unfortunately and confusingly, PKISSH returns "OpenSSH" when asked by "ssh -V".
Please install real OpenSSH, if this is the case for you.

Dec 14 2020, 10:52 AM · Feature Request, gpgagent
idl0r added a comment to T4563: gpg-agent fails to sign request of PKISSH.

Quote from IRC:
hey, i've some problems with my smartcard since quite some time. i'm not sure whether it's openssh related or gnupg. it's a openpgpcard v2.0 and i have to workaround ssh logins by using "SSH_AUTH_SOCK=0 ssh ...". .gnupg/gpg-agent.conf -

the debug log: esp. "ssh sign request failed: Unknown option <GPG Agent>" and ssh says "sign_and_send_pubkey: signing failed: agent refused operation"
gpg --edit-card and --card-status works fine and sign/encrypt works fine as well. only ssh auth fails
openssh 8.1_p1, gnupg 2.2.20

Dec 14 2020, 10:31 AM · Feature Request, gpgagent