Page MenuHome GnuPG
Feed All Stories

Oct 1 2020

jukivili committed rC51271eb86bcb: cipher: setup bulk functions at each algorithms key setup (authored by jukivili).
cipher: setup bulk functions at each algorithms key setup
Oct 1 2020, 7:36 AM
jukivili committed rCe0829ae648d9: rijndael: tidy do_setkey little bit (authored by jukivili).
rijndael: tidy do_setkey little bit
Oct 1 2020, 7:36 AM
gniibe committed rMfd904f87f8d4: gpgsm: Fix leaked fd. (authored by gniibe).
gpgsm: Fix leaked fd.
Oct 1 2020, 6:16 AM
gniibe changed the status of T5074: Leaking fd from Open to Testing.
Oct 1 2020, 4:21 AM · Restricted Project, gpgme, Bug Report
gniibe claimed T5074: Leaking fd.

Good catch. Thank you.

Oct 1 2020, 4:18 AM · Restricted Project, gpgme, Bug Report
gniibe accepted D508: Close unused fd.
Oct 1 2020, 4:18 AM · gpgme

Sep 30 2020

jukivili committed rCf96989f0e908: rijndael-aesni: tweak x86_64 AES-NI for better performance on AMD Zen2 (authored by jukivili).
rijndael-aesni: tweak x86_64 AES-NI for better performance on AMD Zen2
Sep 30 2020, 10:54 PM
Denisov23 added a comment to T4675: Accented characters not displayed correctly.

Hi,
I corrected all the accents. I created a PR here https://github.com/gpg/gpg4win/pull/3

Sep 30 2020, 10:15 PM · i18n, Bug Report, gpg4win
jdhensel added a comment to T5082: Kleopatra crashed with qwindows.dll..

Any ideas? Is there any other info needed that could help move this along?

Sep 30 2020, 6:00 PM · kleopatra, gpg4win, Bug Report
ikloecker committed rKLEOPATRAf1fff030e342: Get information about all inserted cards and their apps from scdaemon (authored by ikloecker).
Get information about all inserted cards and their apps from scdaemon
Sep 30 2020, 5:30 PM
ikloecker committed rKLEOPATRA1af4827e26f1: Remove obsolete code (authored by ikloecker).
Remove obsolete code
Sep 30 2020, 5:30 PM
ikloecker committed rKLEOPATRA50237dc66f76: Ensure that card command is run for correct card and app (authored by ikloecker).
Ensure that card command is run for correct card and app
Sep 30 2020, 5:30 PM
ikloecker committed rKLEOPATRA7435acce3c6c: Pass the card/app to work on to the functions triggering a card command (authored by ikloecker).
Pass the card/app to work on to the functions triggering a card command
Sep 30 2020, 5:30 PM
ikloecker committed rKLEOPATRA52c3759c52ed: Work directly with the app names instead of an app type enum (authored by ikloecker).
Work directly with the app names instead of an app type enum
Sep 30 2020, 5:30 PM
ikloecker committed rKLEOPATRA044244a47c1f: Make SetInitialPinCommand work on a card with given serial number (authored by ikloecker).
Make SetInitialPinCommand work on a card with given serial number
Sep 30 2020, 5:30 PM
ikloecker committed rKLEOPATRA6eac9b662b35: Track first card with Null PIN instead of general "any card has Null PIN" (authored by ikloecker).
Track first card with Null PIN instead of general "any card has Null PIN"
Sep 30 2020, 5:30 PM
ikloecker committed rKLEOPATRA32c6f48bdf81: Derive all card commands from CardCommand and CardCommand from Command (authored by ikloecker).
Derive all card commands from CardCommand and CardCommand from Command
Sep 30 2020, 5:30 PM
werner added a comment to T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired.

There is a conflict between the systemd based launching of gpg-agent and gpg's own launching of the agent. Further systemd seems to remove the /run/user/UID directory which unlinks gpg-agent's socket. gpg-agent's self-check notices this after a minute and termintates itself.

Sep 30 2020, 7:49 AM · gnupg (gpg22), Bug Report
gniibe added a comment to T5086: GnuPG fails to generate keys on-card in versions 2.2.22 and 2.2.23.

I think that rG61aea64b3c17: scd: Fix the use case of verify_chv2 by CHECKPIN. fixes this issue.

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

I observed that the card reader's going erroneous state when I removed a card during its communication.
In this state, it never reports the card removal by the interrupt transfer.
I applied rG920f258eb601: scd: Internal CCID driver: More fix for SPR532. for this problem.

Sep 30 2020, 4:01 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe committed rG920f258eb601: scd: Internal CCID driver: More fix for SPR532. (authored by gniibe).
scd: Internal CCID driver: More fix for SPR532.
Sep 30 2020, 3:59 AM
gniibe committed rG862d9c6face9: scd: Report any error for LEARN command. (authored by gniibe).
scd: Report any error for LEARN command.
Sep 30 2020, 3:59 AM
dlbucy added a comment to T5086: GnuPG fails to generate keys on-card in versions 2.2.22 and 2.2.23.

Great, thank you @gniibe.

Sep 30 2020, 1:25 AM · Restricted Project, gnupg, Bug Report
gniibe triaged T5086: GnuPG fails to generate keys on-card in versions 2.2.22 and 2.2.23 as High priority.

Thanks for your report.

Sep 30 2020, 1:20 AM · Restricted Project, gnupg, Bug Report
gniibe claimed T5086: GnuPG fails to generate keys on-card in versions 2.2.22 and 2.2.23.
Sep 30 2020, 1:19 AM · Restricted Project, gnupg, Bug Report
dlbucy created T5086: GnuPG fails to generate keys on-card in versions 2.2.22 and 2.2.23.
Sep 30 2020, 12:32 AM · Restricted Project, gnupg, Bug Report

Sep 29 2020

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

Update found out the answer for this mystery but I need to know why from you guys:

Sep 29 2020, 12:43 PM · gnupg (gpg22), Bug Report
werner added a project to T5085: Filter APDUs in log output: Feature Request.
Sep 29 2020, 11:23 AM · gnupg24, gnupg22, Feature Request, scd
werner created T5085: Filter APDUs in log output.
Sep 29 2020, 11:21 AM · gnupg24, gnupg22, Feature Request, scd
gniibe committed rG1444203ca32c: scd: Internal CCID driver fix. (authored by gniibe).
scd: Internal CCID driver fix.
Sep 29 2020, 6:29 AM
gniibe committed rG6af978713e4c: scd: Internal CCID driver: Call libusb_clear_halt at ccid_setup_intr. (authored by gniibe).
scd: Internal CCID driver: Call libusb_clear_halt at ccid_setup_intr.
Sep 29 2020, 6:29 AM

Sep 28 2020

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

With all respect. Should I wait for a follow-up or I should consider this case as closed?

Sep 28 2020, 8:57 PM · Not A Bug, No Response, Info Needed, gnupg (gpg22), Windows, Bug Report
werner closed T1938: --list-sigs on a keybox is extremely slow as Resolved.

With 2.3 we add the keyboxd which uses sqlite (and thus indices) as database. This makes lookups much much faster and avoids problems with several processes accessing the pubring.kbx. If you want to try this you can do so with 2.3:

Sep 28 2020, 10:06 AM · gnupg, Bug Report
gniibe committed rGb1e8072320c1: scd: Internal CCID: Handle LIBUSB_ERROR_TIMEOUT at ccid_get_atr. (authored by gniibe).
scd: Internal CCID: Handle LIBUSB_ERROR_TIMEOUT at ccid_get_atr.
Sep 28 2020, 8:58 AM
gniibe committed rGd561c936a217: scd: Internal CCID driver: Fix a failure path. (authored by gniibe).
scd: Internal CCID driver: Fix a failure path.
Sep 28 2020, 8:58 AM
gniibe committed rGc5e8ef3ab980: scd: Internal CCID: Clear the handle after use. (authored by gniibe).
scd: Internal CCID: Clear the handle after use.
Sep 28 2020, 6:38 AM
gniibe committed rG684a52dffa8b: scd: Change handling of SPR532 card reader. (authored by gniibe).
scd: Change handling of SPR532 card reader.
Sep 28 2020, 6:38 AM
gniibe added a project to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2): Restricted Project.

The patch rG684a52dffa8b: scd: Change handling of SPR532 card reader. makes me happier. It is more stable.

Sep 28 2020, 6:37 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).

This is also what I found out with my tests with the libvirt usb: removing and redirecting back the device got it working again.

Sep 28 2020, 5:58 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).

Testing more, I managed to encounter failure with physical usb.
Once in this failure mode, I need to remove the card reader from USB and reinsert again.
I need to figure out a sequence to avoid this situation and to reset the card reader correctly.

Sep 28 2020, 4:53 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).

I tested with physical usb, did multiple operations with external events (insert/remove/etc. for card). I haven't seen any problem (if so, I were doing more fixes), so far.

Sep 28 2020, 1:44 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Sep 26 2020

werner claimed T5084: Using GPGWin 3.1.13, Putty fails to load the private key from a YubiKey.

That code in gnupg has not been touched in a very long time so this may be caused by some side effect.

Sep 26 2020, 2:29 PM · gnupg, ssh, Bug Report, gpg4win
turkja added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Ok. Tried to test this with master, but failed. I got it compiled and installed, and it actually detected the first removal after reboot/suspend/reader attach/whatever reason, but after that when I inserted the card back, it didn't function anymore. I suppose you also tried that? I mean that's the use case, I suppose: to be able to remove/insert the card reliably all day long.

Sep 26 2020, 2:03 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
despair created D508: Close unused fd.
Sep 26 2020, 9:23 AM · gpgme

Sep 25 2020

ahuemmer updated the task description for T5084: Using GPGWin 3.1.13, Putty fails to load the private key from a YubiKey.
Sep 25 2020, 8:36 PM · gnupg, ssh, Bug Report, gpg4win
ahuemmer created T5084: Using GPGWin 3.1.13, Putty fails to load the private key from a YubiKey.
Sep 25 2020, 8:35 PM · gnupg, ssh, Bug Report, gpg4win
aheinecke committed rWe7b4d18a25a7: MSI: Fix a perl regexp warning (authored by aheinecke).
MSI: Fix a perl regexp warning
Sep 25 2020, 1:43 PM
aheinecke committed rW5816dc63973e: MSI: Add comment why selfreg is required (authored by aheinecke).
MSI: Add comment why selfreg is required
Sep 25 2020, 1:43 PM
aheinecke committed rW4137459e99f3: MSI: Fix kleopatra data install location (authored by aheinecke).
MSI: Fix kleopatra data install location
Sep 25 2020, 1:43 PM
werner committed rGf8fbd9e7346e: keyboxd: Make use of the config table (authored by werner).
keyboxd: Make use of the config table
Sep 25 2020, 11:53 AM
werner added a comment to T5083: usecase for --detach-sign as the default signature creation method.

I am sorry, but I do not understand your request. Please give real commands as examples.
You known that you can always use --output FILENAME to force a certain file name?

Sep 25 2020, 10:03 AM · Info Needed, Feature Request
leder renamed T5083: usecase for --detach-sign as the default signature creation method from usecase for --detach --sign as the default signature creation to usecase for --detach --sign as the default signature creation method.
Sep 25 2020, 9:35 AM · Info Needed, Feature Request
leder created T5083: usecase for --detach-sign as the default signature creation method.
Sep 25 2020, 9:34 AM · Info Needed, Feature Request
werner added projects to T5082: Kleopatra crashed with qwindows.dll.: gpg4win, kleopatra.
Sep 25 2020, 9:03 AM · kleopatra, gpg4win, Bug Report
gniibe committed rG93e3c9788912: scd: For PC/SC, send the ESC command at init for SPR532 reader. (authored by gniibe).
scd: For PC/SC, send the ESC command at init for SPR532 reader.
Sep 25 2020, 6:30 AM
gniibe committed rG4fae55f8ee11: scd: For SPR532, submit the ESCape command at initialization. (authored by gniibe).
scd: For SPR532, submit the ESCape command at initialization.
Sep 25 2020, 6:30 AM
gniibe added a comment to T5065: scdaemon doesn't detect card removal after boot/resume (Identiv SPR332v2).

Currently, yes. After some testing, I'll backport it to 2.2.

Sep 25 2020, 2:03 AM · Restricted Project, gnupg (gpg22), scd, Bug Report

Sep 24 2020

jdhensel created T5082: Kleopatra crashed with qwindows.dll..
Sep 24 2020, 10:56 PM · kleopatra, gpg4win, Bug Report
werner committed rGd49a945b12d9: gpg: New experimental import option "bulk-import" (authored by werner).
gpg: New experimental import option "bulk-import"
Sep 24 2020, 4:48 PM
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 · 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