Page MenuHome GnuPG
Feed All Stories

Sep 24 2020

werner committed rGc2b14f5d6852: keyboxd: New command TRANSACTION. (authored by werner).
keyboxd: New command TRANSACTION.
Sep 24 2020, 4:48 PM
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Nice, thanks! If I want to try this fix, should I just compile the master tree?

Sep 24 2020, 2:45 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner committed rG1f89d50537b3: keyboxd: Fix UDPATE keyblob SQL statement (authored by werner).
keyboxd: Fix UDPATE keyblob SQL statement
Sep 24 2020, 1:00 PM
werner committed rGb19a60c6f7e8: tests: Integrate --use-keyboxd into the OpenPGP test suite. (authored by werner).
tests: Integrate --use-keyboxd into the OpenPGP test suite.
Sep 24 2020, 1:00 PM
werner committed rG25ad3c22d79d: keyboxd: Implement multiple search descriptions. (authored by werner).
keyboxd: Implement multiple search descriptions.
Sep 24 2020, 1:00 PM
werner committed rG0ac003b45763: keyboxd: Remove unused variables. (authored by werner).
keyboxd: Remove unused variables.
Sep 24 2020, 1:00 PM
werner committed rG97798eec4b77: tests: Fix convenience function to run gpg. (authored by werner).
tests: Fix convenience function to run gpg.
Sep 24 2020, 1:00 PM
gniibe committed rG7cbb513a2dc1: scd: Fix CCID internal driver for interrupt transfer. (authored by gniibe).
scd: Fix CCID internal driver for interrupt transfer.
Sep 24 2020, 1:00 PM
werner committed rGacaeba2dbdb9: keyboxd: Integrate into gpgconf. (authored by werner).
keyboxd: Integrate into gpgconf.
Sep 24 2020, 1:00 PM

Sep 23 2020

werner closed T5081: Cannot verify Signature of Electrum as Invalid.

I am sorry, but this is a bug tracker and not a help list. I don't even known what Electrum is. Please ask at their support site or if you are looking for general help with GnuPG post to the gnupg-users mailing list (see https://gnupg.org/documentation/mailing-lists.html)

Sep 23 2020, 9:52 AM
turkja added a comment to T3362: Prevent Smartcard from caching PIN when cache-ttl is set accordingly.

I also don't want to leave my card in the reader authenticated for a full day, it just doesn't sound like a good practice to me. I also very often just forget about the card, so it just sits there, keys open for use.

Sep 23 2020, 6:49 AM · Feature Request

Sep 22 2020

key created T5081: Cannot verify Signature of Electrum.
Sep 22 2020, 9:54 PM
ikloecker committed rKLEOPATRAb1fd43909ef9: Show information about certificates associated to card keys (authored by ikloecker).
Show information about certificates associated to card keys
Sep 22 2020, 4:37 PM
werner triaged T5080: Gpg-agent gets confused when a homedir is moved as Normal priority.
Sep 22 2020, 4:32 PM · gnupg (gpg22), Bug Report
werner committed rG183509756179: gpg: Set the found-by flags in the keyblock in keyboxd mode. (authored by werner).
gpg: Set the found-by flags in the keyblock in keyboxd mode.
Sep 22 2020, 4:21 PM
werner committed rGb810320b1bf7: sm: Fix returning of the ephemeral flag in keyboxd mode. (authored by werner).
sm: Fix returning of the ephemeral flag in keyboxd mode.
Sep 22 2020, 4:21 PM
werner committed rG0e892bda4e0b: keyboxd: Extend PUBKEY_INFO status line with an uid ordinal. (authored by werner).
keyboxd: Extend PUBKEY_INFO status line with an uid ordinal.
Sep 22 2020, 4:21 PM
werner committed rGc81a7b09368a: common: Fix name of keyboxd. (authored by werner).
common: Fix name of keyboxd.
Sep 22 2020, 4:21 PM
goeran updated the task description for T5080: Gpg-agent gets confused when a homedir is moved.
Sep 22 2020, 3:00 PM · gnupg (gpg22), Bug Report
goeran created T5080: Gpg-agent gets confused when a homedir is moved.
Sep 22 2020, 2:58 PM · gnupg (gpg22), Bug Report
ikloecker committed rKLEOPATRA4f33c8197333: Read certificate data stored on PIV cards (authored by ikloecker).
Read certificate data stored on PIV cards
Sep 22 2020, 12:56 PM
ikloecker committed rKLEOPATRAb0821ce52502: Support import of certificates stored on PIV cards (authored by ikloecker).
Support import of certificates stored on PIV cards
Sep 22 2020, 12:56 PM
werner committed rGbe8b30f8ebf6: kbx: Add bounds check to detect corrupt keyboxes. (authored by werner).
kbx: Add bounds check to detect corrupt keyboxes.
Sep 22 2020, 11:53 AM
werner committed rGe0a312bfd646: kbx: Add bounds check to detect corrupt keyboxes. (authored by werner).
kbx: Add bounds check to detect corrupt keyboxes.
Sep 22 2020, 11:48 AM
werner created T5079: Add compliance flag to trustlist.txt.
Sep 22 2020, 11:13 AM · gnupg22, gnupg24 (gnupg-2.4.1), Restricted Project, Feature Request

Sep 21 2020

ikloecker committed rKLEOPATRA91afdc611465: Add algorithm to list of keys of PIV cards (authored by ikloecker).
Add algorithm to list of keys of PIV cards
Sep 21 2020, 5:51 PM
ikloecker committed rKLEOPATRA71af96a93609: Group widgets belonging to a key into a struct (authored by ikloecker).
Group widgets belonging to a key into a struct
Sep 21 2020, 5:51 PM
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Update: Using --use-standard-socket argument to run this does not work and gpg-agent still create new process. New findings:

Sep 21 2020, 3:22 PM · gnupg (gpg22), Bug Report
werner committed rGbabd87f2dadf: doc: Some documentation updates. (authored by werner).
doc: Some documentation updates.
Sep 21 2020, 3:07 PM
werner committed rG26da47ae53d5: scd: Extend KEYPAIRINFO with an algorithm string. (authored by werner).
scd: Extend KEYPAIRINFO with an algorithm string.
Sep 21 2020, 3:07 PM
werner committed rGc772770574ea: sm: Implement delete key in keyboxd mode (authored by werner).
sm: Implement delete key in keyboxd mode
Sep 21 2020, 3:07 PM
aheinecke committed rW6f4a73f290ec: m4/gpg4win: Add /usr/host/bin folder in library search list. (authored by Biswapriyo Nath <nathbappai@gmail.com>).
m4/gpg4win: Add /usr/host/bin folder in library search list.
Sep 21 2020, 1:00 PM
moria added a comment to T5078: gpg wants to delete my master key when I'm trying to delete a subkey?.

Thank you very much for your answer.
Unfortunately, I can't use --quick-add-key, because I believe the command generates a new subkey. What I'm trying to do is adding an already existing key as the subkey of a master key.

Sep 21 2020, 9:55 AM
werner added a comment to T5078: gpg wants to delete my master key when I'm trying to delete a subkey?.

Please do not use addkey with in such a way. The use of "canned"commands way work now for you but can lead to unexpected results if anything changes, either due to changes in another gpg version or due to changes in your key etc.. The correct use requires a state machines along with --stattus-fd and command-fd. Because that is quite hairy to get right we have added a set of quick commands. In your case your should use

Sep 21 2020, 9:05 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA1fc596ebab54: GIT_SILENT: compile without kf5.75 without deprecated method (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: compile without kf5.75 without deprecated method
Sep 21 2020, 8:04 AM
Laurent Montel <montel@kde.org> committed rLIBKLEObb62c6440328: GIT_SILENT: compile without kf5.75 without deprecated method (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: compile without kf5.75 without deprecated method
Sep 21 2020, 8:02 AM
moria created T5078: gpg wants to delete my master key when I'm trying to delete a subkey? in the S1 Public space.
Sep 21 2020, 7:42 AM
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Just to acknowledge here: I notice that the new gpg-agent random process respawn with an obsolete argument using --use-standard-socket. I will run my gpg daemon using this absolete argument to see if it can block this random process. [updated the script]

Sep 21 2020, 1:42 AM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 21 2020, 1:16 AM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Thanks for your reply. I can confirm from my observation from the log this is a bug where I'm able to reproduce this every day. I will post this to mailing lists.

Sep 21 2020, 1:11 AM · gnupg (gpg22), Bug Report

Sep 20 2020

d716c added a comment to T5077: Unable to Creat OpenPGP new key pair, Unable to Connect to UIServer on startup. Creating a folder in my D drive as portable.

I tried using the portable version it wasnt portable apps, i used it the zip file option from this site, https://portapps.io/app/gnupg-portable/

Sep 20 2020, 11:46 PM · Bug Report, gpg4win
d716c added a comment to T5077: Unable to Creat OpenPGP new key pair, Unable to Connect to UIServer on startup. Creating a folder in my D drive as portable.

Sep 20 2020, 11:40 PM · Bug Report, gpg4win
d716c created T5077: Unable to Creat OpenPGP new key pair, Unable to Connect to UIServer on startup. Creating a folder in my D drive as portable.
Sep 20 2020, 11:39 PM · Bug Report, gpg4win
werner added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

FWIW: You may get a faster answer if you post to gnupg-users mailing lists. Bug reports are a tool to fix bugs and usually are only seen by a few developers.

Sep 20 2020, 7:39 PM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

I'm now able to kill the respawn process in the script (updated the script). But I need confirmation if this is a known bug ?

Sep 20 2020, 5:44 AM · gnupg (gpg22), Bug Report

Sep 19 2020

MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

I can create a script to manually kill the 2nd process, but can u guys confirm with me that this is a known bug ?

Sep 19 2020, 7:42 PM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Just to let you know that , using --homedir option also has the same problem I noticed today. I got email each minute like this:

Sep 19 2020, 5:20 PM · gnupg (gpg22), Bug Report
MaXi32 added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

Ok let me update what I did next:

Sep 19 2020, 6:16 AM · gnupg (gpg22), Bug Report

Sep 18 2020

MaXi32 awarded T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired a Orange Medal token.
Sep 18 2020, 8:32 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:31 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:24 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:24 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:17 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:12 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:11 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:10 PM · gnupg (gpg22), Bug Report
MaXi32 updated the task description for T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:10 PM · gnupg (gpg22), Bug Report
MaXi32 created T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.
Sep 18 2020, 8:09 PM · gnupg (gpg22), Bug Report
mathieui created T5075: [python-gpgme] Traceback when running with python -OO.
Sep 18 2020, 5:11 PM · gpgme, Python, Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

Here are my test configurations.

Sep 18 2020, 10:15 AM · Bug Report
despair created T5074: Leaking fd.
Sep 18 2020, 8:29 AM · Restricted Project, gpgme, Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

I think that there is some misunderstanding how gpg-agent and scdaemon run.
In the normal configuration, those program run when you login to your desktop or it is invoked when used, then, after you logout, it dies.

Sep 18 2020, 5:01 AM · Bug Report
gniibe added a comment to T5062: gpg: error getting version from 'scdaemon': Forbidden.

For SSH, I don't think forwarding gpg-agent's socket (S.gpg-agent.ssh) is good idea; It complicates things unnecessarily. Simply use -A option of SSH, if possible.

Sep 18 2020, 3:58 AM · Bug Report
gniibe closed T5063: Use of some "SCD" command through extra socket, a subtask of T5062: gpg: error getting version from 'scdaemon': Forbidden, as Resolved.
Sep 18 2020, 3:55 AM · Bug Report
gniibe closed T5063: Use of some "SCD" command through extra socket as Resolved.
Sep 18 2020, 3:55 AM · Bug Report
gniibe added a comment to T5063: Use of some "SCD" command through extra socket.

Fixed in master.

Sep 18 2020, 3:52 AM · Bug Report
gniibe added a comment to T5063: Use of some "SCD" command through extra socket.

"SCD GETINFO card_list" is not needed actually. It was my misunderstanding.

Sep 18 2020, 3:51 AM · Bug Report
gniibe committed rGdfdcf1473897: common,agent,dirmngr,g10,tools: Fix split_fields API. (authored by gniibe).
common,agent,dirmngr,g10,tools: Fix split_fields API.
Sep 18 2020, 3:36 AM
gniibe committed rG8a84a71f3a58: agent: Fix regression for access through the extra secket. (authored by gniibe).
agent: Fix regression for access through the extra secket.
Sep 18 2020, 3:36 AM

Sep 17 2020

GwenDragon added a project to T5073: Date output of GnuPG not in correct language format: gnupg (gpg22).
Sep 17 2020, 6:00 PM · gnupg (gpg22), Bug Report
GwenDragon created T5073: Date output of GnuPG not in correct language format.
Sep 17 2020, 5:37 PM · gnupg (gpg22), Bug Report
bernhard closed T3379: Gpg4win windows publisher signature not always correctly displayed in UAC dialogue as Resolved.

Last report more than two years ago.

Sep 17 2020, 1:50 PM · gpg4win, Bug Report
ikloecker committed rKLEOPATRAe5c8e108c476: Replace one-liner slots with lambdas (authored by ikloecker).
Replace one-liner slots with lambdas
Sep 17 2020, 12:29 PM
ikloecker committed rKLEOPATRA9ff70905d1c6: Support writing a key pair to the Key Management slot of PIV cards (authored by ikloecker).
Support writing a key pair to the Key Management slot of PIV cards
Sep 17 2020, 12:29 PM
ikloecker committed rLIBKLEOdeec4c3a3ead: Make some features of the KeySelectionDialog optional (authored by ikloecker).
Make some features of the KeySelectionDialog optional
Sep 17 2020, 12:24 PM
ikloecker committed rLIBKLEOd8eb9b589096: Group UI member variables and initialize int variables (authored by ikloecker).
Group UI member variables and initialize int variables
Sep 17 2020, 12:24 PM
ikloecker committed rLIBKLEO6402b9ecdf11: Remove already initialized members from initialization lists (authored by ikloecker).
Remove already initialized members from initialization lists
Sep 17 2020, 12:24 PM
ikloecker committed rLIBKLEOf66e9986450f: Sort forward declarations (authored by ikloecker).
Sort forward declarations
Sep 17 2020, 12:24 PM
Georg3 created T5072: Keyserver presents the expiry date incorrectly in the S1 Public space.
Sep 17 2020, 10:35 AM · Keyserver
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

This is everything lsusb knows about the device:

Sep 17 2020, 8:28 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

And please report the output of lsusb -d 04e6:e003 for the information of the card reader.

Sep 17 2020, 8:27 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

@turkja Thanks for your information.
May I ask you one thing?
Please show me the usb VID:PID of your card reader.
Is it 04e6:e003?
You can examine a line of the output by lsusb.

Sep 17 2020, 8:23 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Just wanted to add to my initial findings:

  • I was not using proprietary drivers (libscmccid.so.5.0.35), because the installer script fails to install on default CentOS 8 pcsc-lite. So the distribution pcsc-lite also doesn't have this issue.
  • Fastest way to test this condition is to just detach/attach the reader device.
  • Proprietary drivers doesn't support secure pin entry!
Sep 17 2020, 5:59 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Sep 16 2020

CaveTheCave added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

Please note that:

  • There is a single user accessing the socket dir (which is the same as the homedir).
  • The socketdir (homedir) is not in a local directory. It is in another file system accessed via the SMB protocol, with a command such as:
gpg --homedir "//192.168.32.211/c$/gpghomedir" ...
Sep 16 2020, 8:33 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
CaveTheCave added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

From the '&ovl' I assume that the lock file has been opened for overlapped IO.
Please see an extract from MSDN for the LockFileEx function:

Sep 16 2020, 5:03 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
ikloecker committed rKLEOPATRA21f911b31ecf: Support transferring X.509 certificates to the remaining card slots (authored by ikloecker).
Support transferring X.509 certificates to the remaining card slots
Sep 16 2020, 2:11 PM
glr created T5071: Doc fix: simple typos.
Sep 16 2020, 1:19 PM · Documentation, Bug Report
gniibe updated the task description for T5001: Card specification enhancement.
Sep 16 2020, 8:51 AM · Feature Request, scd
werner added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

We need to figure out why the file locks seem not to work. gpg-agent processes whatch there own socket and terminate if that socket does not belong to them anymore.

Sep 16 2020, 8:10 AM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
gniibe claimed T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).
Sep 16 2020, 8:04 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Thanks for sending.

Sep 16 2020, 8:01 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Here is the output for an SCM SPR532

Sep 16 2020, 7:55 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Bus 001 Device 123: ID 04e6:e003 SCM Microsystems, Inc. SPR532 PinPad SmartCard Reader

Sep 16 2020, 7:48 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Is it an alias of SPR532? Please show me the USB vendor ID and product ID.

Sep 16 2020, 7:39 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
CaveTheCave added a comment to T5069: Concurrent auto-start of gpg-agent by multiple gpg instances..

Yes it is the windows version. It occurs both in Windows 10 and Windows Server 2016.
What I notice is that a gpg-agent is started, then after some time another one is started and the previous ends (presumably because it has lost the socket), etc. At any point in time, I can see only one agent instance running in the task manager, but with different process ids.

Sep 16 2020, 6:57 AM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
gniibe committed rGf4c07fc3d3c3: scd: Clear caching PIN at KDF setup. (authored by gniibe).
scd: Clear caching PIN at KDF setup.
Sep 16 2020, 6:15 AM
gniibe committed rG316a8cbc7523: scd: Add better support for KDF feature. (authored by gniibe).
scd: Add better support for KDF feature.
Sep 16 2020, 6:15 AM
gniibe committed rG8ff36630277f: scd: Clear PIN cache when changing key attributes. (authored by gniibe).
scd: Clear PIN cache when changing key attributes.
Sep 16 2020, 6:15 AM
gniibe committed rG8dfd0ebfd8cf: gpg,scd: Fix handling of KDF feature. (authored by gniibe).
gpg,scd: Fix handling of KDF feature.
Sep 16 2020, 5:52 AM
gniibe committed rG61aea64b3c17: scd: Fix the use case of verify_chv2 by CHECKPIN. (authored by gniibe).
scd: Fix the use case of verify_chv2 by CHECKPIN.
Sep 16 2020, 5:49 AM