Page MenuHome GnuPG
Feed All Stories

Nov 7 2017

gniibe changed the status of T3472: gpgme-1.9.0 test suite hangs on OpenBSD from Open to Testing.

This is a bug in gpg-agent.

Nov 7 2017, 9:23 AM · gpgagent, gnupg (gpg22), gpgme
bernhard created T3487: Check ldap timeout for CMS certificate search in the S1 Public space.
Nov 7 2017, 8:55 AM · Windows, dirmngr, gpg4win
gniibe committed rC71a07704ad98: build: Don't use /dev/srandom on OpenBSD. (authored by Jeremie Courreges-Anglas <jca@wxcvbn.org>).
build: Don't use /dev/srandom on OpenBSD.
Nov 7 2017, 5:26 AM
gniibe created D452: Build: FreeBSD make.
Nov 7 2017, 5:19 AM · gnupg
gniibe added a comment to T3152: KDF DO support in OpenPGP card.

Implemented in a branch: gniibe/scd-kdf-support

Nov 7 2017, 3:30 AM · scd
gniibe committed rG526d144b1bb6: scd: Support KDF Data Object of OpenPGPcard V3.3. (authored by gniibe).
scd: Support KDF Data Object of OpenPGPcard V3.3.
Nov 7 2017, 3:26 AM
gniibe committed rG96d441b315ec: po: Update Japanese translation (authored by gniibe).
po: Update Japanese translation
Nov 7 2017, 3:16 AM
gniibe committed rG380bce13d94f: agent: Use clock or clock_gettime for calibration. (authored by gniibe).
agent: Use clock or clock_gettime for calibration.
Nov 7 2017, 3:03 AM
gniibe added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

I confirmed that clock is better on FreeBSD, too. And FreeBSD has clock_gettime with CLOCK_THREAD_CPUTIME_ID.
I tested FreeBSD 11.1 running QEMU.

Nov 7 2017, 2:37 AM · Bug Report
gniibe added a comment to T3056: gpgme-1.8.0: test failures on NetBSD.

Could you please testing gpgme with D450: clock_gettime if CLOCK_THREAD_CPUTIME_ID is available. for GnuPG?

Nov 7 2017, 1:39 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)
gniibe added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

# My update of D450: clock_gettime if CLOCK_THREAD_CPUTIME_ID is available. has gone somewhere. So, I update it again.

Nov 7 2017, 1:36 AM · Bug Report
gniibe updated the diff for D450: clock_gettime if CLOCK_THREAD_CPUTIME_ID is available..

Use clock instead of times.

Nov 7 2017, 1:27 AM

Nov 6 2017

skitron added a comment to T3485: --batch --passphrase throwing password prompt as of 3.0.0.

Thanks you very much for your quick reply. I added your code to my invocations for decryption and signing and all is well now. You probably saved me many hours of searching with your kind reply!

Nov 6 2017, 8:20 PM · FAQ, gpg4win
werner committed rG42308224d1fc: tests: Minor imporvement in agent invocation (authored by werner).
tests: Minor imporvement in agent invocation
Nov 6 2017, 4:54 PM
werner triaged T3486: ASCII armor option missing from gpgEX as of gpg4win 3.0.0 as Normal priority.

This dialog actually belongs to Kleopatra. I added the respective tag.

Nov 6 2017, 4:42 PM · Feature Request, gpg4win, kleopatra
werner edited projects for T3485: --batch --passphrase throwing password prompt as of 3.0.0, added: gpg4win, FAQ; removed Bug Report.

However you can tell gpg-agent to let gpg ask for the passphrase. Add

Nov 6 2017, 4:40 PM · FAQ, gpg4win
werner added a comment to T3485: --batch --passphrase throwing password prompt as of 3.0.0.

Passphrase handling changed a lot with gpg 2.1.

Nov 6 2017, 4:39 PM · FAQ, gpg4win
skitron created T3486: ASCII armor option missing from gpgEX as of gpg4win 3.0.0 in the S1 Public space.
Nov 6 2017, 4:00 PM · Feature Request, gpg4win, kleopatra
skitron created T3485: --batch --passphrase throwing password prompt as of 3.0.0.
Nov 6 2017, 3:55 PM · FAQ, gpg4win
ThomasWG added a comment to T3482: Creating a 2nd keypair.

I'll try that when it happens again. Thanks

Nov 6 2017, 3:51 PM · Bug Report, gpg4win
werner added a comment to T3482: Creating a 2nd keypair.

Can you try to kill the gpg-agent process from the task manager before you create the second keypair? If that helps the problem might be the same as T3378. Are you creating a standard key (ie. rsa2048) or something else?

Nov 6 2017, 3:26 PM · Bug Report, gpg4win
werner lowered the priority of T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel from High to Normal.
Nov 6 2017, 3:20 PM · Bug Report
ThomasWG added a comment to T3482: Creating a 2nd keypair.

The OS runs Windows 2008 R2 , on a Oracle's Virtualbox, so I wouldn't consider this being a headless Windows installation, why? When you first create your keypairs it goes pretty fast usually under 5 mins. But if you recreate or try an create a new keypair it never completes, takes 20+ minutes or longer. But if you shut down the OS, or restart the OS, and try it again then it completes in under 5 mins.

Nov 6 2017, 3:20 PM · Bug Report, gpg4win
werner added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

We won't have a solution for 2.2.2 but I added --2k-count as a workaround
(rG78a6d0ce88ae) and the GETINFO subcommands s2k_count_cal and s2k_time.

Nov 6 2017, 3:20 PM · Bug Report
werner committed rG3607ab2cf382: agent: New GETINFO sub-commands "s2k_count_cal" and "s2k_time". (authored by werner).
agent: New GETINFO sub-commands "s2k_count_cal" and "s2k_time".
Nov 6 2017, 3:16 PM
werner committed rG78a6d0ce88ae: agent: New option --s2k-count. (authored by werner).
agent: New option --s2k-count.
Nov 6 2017, 3:16 PM
werner added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

Also failed to replicate on Windows-7 using a dedicated laptop.

Nov 6 2017, 3:12 PM · Windows, libassuan, gpgagent, Bug Report
werner added a comment to T3480: gpg-agent seems to hang after Windows 7 is woken from suspend to RAM.

I have still problems to reliable replicate this bug. I tried on Windows-7 on real hardware without success.

Nov 6 2017, 3:11 PM · Bug Report, gpg4win
werner closed T3478: Subkey-Grip support for unattended key generation, a subtask of T1734: [SUGGESTION] Implement a function to re-generate public keys and(!) "stubs" from private keys stored on smartcard only, as Resolved.
Nov 6 2017, 3:09 PM · gnupg, Feature Request
werner closed T3478: Subkey-Grip support for unattended key generation as Resolved.

Done. Will go into 2.2.2.

Nov 6 2017, 3:09 PM · gnupg (gpg22)
werner committed rG52d41c8b0f4a: agent: New GETINFO sub-commands "s2k_count_cal" and "s2k_time". (authored by werner).
agent: New GETINFO sub-commands "s2k_count_cal" and "s2k_time".
Nov 6 2017, 3:08 PM
werner committed rGf7212f1d11aa: agent: New option --s2k-count. (authored by werner).
agent: New option --s2k-count.
Nov 6 2017, 3:08 PM
vext01 added a comment to T3472: gpgme-1.9.0 test suite hangs on OpenBSD.

I confirm that applying the patch fixes the hang under a VM, and does not adversely affect running on a bare metal machine either.

Nov 6 2017, 1:11 PM · gpgagent, gnupg (gpg22), gpgme
werner closed T3481: error searching keyserver: Operation not permitted as Invalid.
Nov 6 2017, 12:19 PM · Bug Report
werner committed rG680161647ad5: g10: Unattended key generation "Key-Grip" and "Subkey-Grip". (authored by gniibe).
g10: Unattended key generation "Key-Grip" and "Subkey-Grip".
Nov 6 2017, 12:19 PM
werner committed rGf183b9768b42: g10: Simplify "factory-reset" procedure. (authored by gniibe).
g10: Simplify "factory-reset" procedure.
Nov 6 2017, 12:19 PM
werner added inline comments to rG6c63a04569c0: g10: Unattended key generation "Key-Grip" and "Subkey-Grip"..
Nov 6 2017, 11:42 AM
werner added a comment to T3482: Creating a 2nd keypair.

Please explain what you mean by "recreate the keypairs". What do you mean by "server" - are you using gpg4win on a headless Windows installation?

Nov 6 2017, 10:22 AM · Bug Report, gpg4win
gniibe added a comment to T3472: gpgme-1.9.0 test suite hangs on OpenBSD.

Could you please try D450: clock_gettime if CLOCK_THREAD_CPUTIME_ID is available. patch of GnuPG?

Nov 6 2017, 8:56 AM · gpgagent, gnupg (gpg22), gpgme
gniibe committed rC77e314a42a9c: build: Don't use /dev/srandom on OpenBSD. (authored by Jeremie Courreges-Anglas <jca@wxcvbn.org>).
build: Don't use /dev/srandom on OpenBSD.
Nov 6 2017, 7:10 AM
gniibe closed T3483: Fix Makefile that does not compile on Debian Stable as Invalid.

That's your building problem, not the problem of gnupg.

Nov 6 2017, 6:46 AM · Bug Report

Nov 5 2017

madjari created T3484: gpgol 2.0.1 frequently crashes Outlook 2016.
Nov 5 2017, 7:00 PM · gpgol, Bug Report, gpg4win
mark-antony added a comment to T3101: GnuPG 2.2 cannot import secret keys from 1.4/2.0's secring.gpg directly (if it is expired by original expiration date).

What I use to force the old keyring format is to export a public key to a file and rename that to pubring.gpg. And of course delete the pubring.kbx.

Nov 5 2017, 4:15 PM · workaround, gnupg, Bug Report
sebastiang created T3483: Fix Makefile that does not compile on Debian Stable.
Nov 5 2017, 1:44 AM · Bug Report
sebastiang added inline comments to rG6c63a04569c0: g10: Unattended key generation "Key-Grip" and "Subkey-Grip"..
Nov 5 2017, 1:26 AM
sebastiang added a comment to T3478: Subkey-Grip support for unattended key generation.

This is suuper useful! I can see there is a pSUBKEYEXPIRE, but no para_name for this. Can an expire date be passed for a subkey via Subkey-grip?

Nov 5 2017, 1:22 AM · gnupg (gpg22)

Nov 4 2017

fulanoperez added a comment to T3481: error searching keyserver: Operation not permitted.

I cannot explain why it works now

Nov 4 2017, 2:08 PM · Bug Report

Nov 3 2017

ThomasWG created T3482: Creating a 2nd keypair.
Nov 3 2017, 5:35 PM · Bug Report, gpg4win
werner added a comment to T3481: error searching keyserver: Operation not permitted.

Put

log-file /foo/bar/dirmngr.log
debug network,dns,ipc
verbose

into ~/.gnupg/dirmngr.conf and restart dirmngr "gpgconf --kill all". Then run your gpg command avain (a single -v is sufficient). Does the log reveal something?

Nov 3 2017, 3:04 PM · Bug Report
fulanoperez created T3481: error searching keyserver: Operation not permitted.
Nov 3 2017, 2:49 PM · Bug Report
werner added a comment to T3480: gpg-agent seems to hang after Windows 7 is woken from suspend to RAM.

Thanks. that was a good hint. I merged your report into T3378.

Nov 3 2017, 10:40 AM · Bug Report, gpg4win
werner added a comment to T3378: gpg-agent.exe hanging after left to idle for a while.

I tested for several days with logging enabled but was not able to replicate it again. Then I tried again w/o logging and couldn't replicate it either.

Nov 3 2017, 10:39 AM · Windows, libassuan, gpgagent, Bug Report
werner merged T3480: gpg-agent seems to hang after Windows 7 is woken from suspend to RAM into T3378: gpg-agent.exe hanging after left to idle for a while.
Nov 3 2017, 10:36 AM · Windows, libassuan, gpgagent, Bug Report
werner merged task T3480: gpg-agent seems to hang after Windows 7 is woken from suspend to RAM into T3378: gpg-agent.exe hanging after left to idle for a while.
Nov 3 2017, 10:36 AM · Bug Report, gpg4win
gniibe added a comment to T3478: Subkey-Grip support for unattended key generation.

Yes, I put the tag of gpg2.2, as it's useful to compose key from external source.

Nov 3 2017, 8:13 AM · gnupg (gpg22)

Nov 2 2017

werner committed rG6070f5a61d4d: po: Update Russian translation (authored by Ineiev <ineiev@gnu.org>).
po: Update Russian translation
Nov 2 2017, 9:35 PM
6ja912k added a comment to T3480: gpg-agent seems to hang after Windows 7 is woken from suspend to RAM.

By the way: This is when I try to use a key stored on my hard disk. I have never had any issue like this with those keys in previous versions, but I have always had similar problems with keys stored on my smartcard.

Nov 2 2017, 9:33 PM · Bug Report, gpg4win
6ja912k created T3480: gpg-agent seems to hang after Windows 7 is woken from suspend to RAM.
Nov 2 2017, 9:31 PM · Bug Report, gpg4win
werner committed rG96f3b1de1cb1: build: Don't use /dev/srandom on OpenBSD (authored by Jeremie Courreges-Anglas <jca@wxcvbn.org>).
build: Don't use /dev/srandom on OpenBSD
Nov 2 2017, 8:23 PM
werner added a comment to T3478: Subkey-Grip support for unattended key generation.

Shall we mark that for backport to some 2.2 version?

Nov 2 2017, 7:07 PM · gnupg (gpg22)
werner added a comment to rG6c63a04569c0: g10: Unattended key generation "Key-Grip" and "Subkey-Grip"..
Nov 2 2017, 7:06 PM
werner committed rG296783a3181a: po: Fixed one string wrongly marked as fuzzy. (authored by werner).
po: Fixed one string wrongly marked as fuzzy.
Nov 2 2017, 5:49 PM
werner committed rGa124907742ab: po: Update German translation (authored by werner).
po: Update German translation
Nov 2 2017, 5:49 PM
werner committed rGacb300543422: gpg: Introduce magic value 25519 to switch a card to ECC. (authored by werner).
gpg: Introduce magic value 25519 to switch a card to ECC.
Nov 2 2017, 5:49 PM
werner committed rGde3a740c2e11: gpg: Rename two card related functions in card-util. (authored by werner).
gpg: Rename two card related functions in card-util.
Nov 2 2017, 5:49 PM
werner committed rGea09b6cded9d: gpg: Introduce magic value 25519 to switch a card to ECC. (authored by werner).
gpg: Introduce magic value 25519 to switch a card to ECC.
Nov 2 2017, 5:24 PM
werner committed rG922bae8082f2: gpg: Unifiy the message for re-configuring cards. (authored by werner).
gpg: Unifiy the message for re-configuring cards.
Nov 2 2017, 5:24 PM
aa added a comment to T3152: KDF DO support in OpenPGP card.
Nov 2 2017, 5:13 PM · scd
werner committed rG3da47d19df89: agent: Fix returning GPG_ERR_NOT_FOUND wrongly. (authored by gniibe).
agent: Fix returning GPG_ERR_NOT_FOUND wrongly.
Nov 2 2017, 5:09 PM
werner closed T3479: tests fail with --disable-gpg as Resolved.
Nov 2 2017, 5:00 PM · Bug Report
werner committed rG16513102036a: build: Remove configure options --disable-gpg (authored by werner).
build: Remove configure options --disable-gpg
Nov 2 2017, 5:00 PM
werner triaged T3479: tests fail with --disable-gpg as Low priority.

gpg is required by several parts of GnuPG. Tracking dependencies for it for the esoteric case of not building it does not make any sense. Thus the option will be removed from from master.

Nov 2 2017, 4:57 PM · Bug Report
gniibe added a comment to T3152: KDF DO support in OpenPGP card.

Changes for Gnuk is done. It's now testing. It will be in Gnuk 1.2.7.

Nov 2 2017, 8:49 AM · scd
gniibe committed rG5e96fe72e477: agent: Fix returning GPG_ERR_NOT_FOUND wrongly. (authored by gniibe).
agent: Fix returning GPG_ERR_NOT_FOUND wrongly.
Nov 2 2017, 8:47 AM
gniibe added a project to T3473: gnupg agent configurable backlog for sockets: gpgagent.
Nov 2 2017, 5:28 AM · gpgagent, Feature Request
gniibe added a comment to T3469: gpg: decryption failed: No secret key <= after debian upgrade from Jessie to Stretch.

Did you run gpg before your copying $HOME data and after your installation of Stretch?
That gpg invocation create the file ~/.gnupg/.gpg-v21-migrated, which marks "the migration finished".

Nov 2 2017, 5:27 AM · Support, Documentation
sielicki created T3479: tests fail with --disable-gpg.
Nov 2 2017, 5:23 AM · Bug Report

Nov 1 2017

werner added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

What do you think about a special case for the homedir "/dev/null" ? We use this device as a specila value at other places too. I have often seen "/nonexistent" in /etc/passwd but there is no standard for this. However, /dev/null is well defined.

Nov 1 2017, 6:56 PM · gpgme, Bug Report
werner committed rG0e5bd473a07f: common: Accept the Z-suffix for yymmddThhmmssZ format. (authored by gniibe).
common: Accept the Z-suffix for yymmddThhmmssZ format.
Nov 1 2017, 6:42 PM
werner committed rG3924e1442c66: agent: Clean up pinentry access locking. (authored by gniibe).
agent: Clean up pinentry access locking.
Nov 1 2017, 6:42 PM
werner committed rG4738256f2e0d: agent: Allow recursive use of pinentry. (authored by gniibe).
agent: Allow recursive use of pinentry.
Nov 1 2017, 6:41 PM
werner closed T3474: gpg: Note: '--list-options' is not considered an option as Invalid.

Actually before the fingerprint, which is a general argument and not an argument to -k. Thus

Nov 1 2017, 6:29 PM · Bug Report
werner committed rGfd3f5ca151b9: Register another OpenPGP card vendor. (authored by werner).
Register another OpenPGP card vendor.
Nov 1 2017, 6:23 PM
werner committed rG87b94e08d781: gpg: Remove trailing comma in an enum. (authored by werner).
gpg: Remove trailing comma in an enum.
Nov 1 2017, 6:23 PM
werner committed rGf795f4529d8a: gpg: Rename two card related functions in card-util. (authored by werner).
gpg: Rename two card related functions in card-util.
Nov 1 2017, 6:23 PM
gniibe closed T1818: gnupg fails (buffer overflow detected) to encrypt archive when called from duplicity as Resolved.

OK, closed.

Nov 1 2017, 7:17 AM · Info Needed, gnupg, gnupg (gpg14), Bug Report, Debian
gniibe closed T3190: Recursive call of pinentry as Resolved.
Nov 1 2017, 7:07 AM · gnupg (gpg22)
gniibe added a comment to T3474: gpg: Note: '--list-options' is not considered an option.

GnuPG is picky about the order of options. Please put "--list-options show-photos" before -k.

Nov 1 2017, 3:24 AM · Bug Report
gniibe committed rG6c63a04569c0: g10: Unattended key generation "Key-Grip" and "Subkey-Grip". (authored by gniibe).
g10: Unattended key generation "Key-Grip" and "Subkey-Grip".
Nov 1 2017, 2:44 AM
gniibe renamed T3478: Subkey-Grip support for unattended key generation from Sub-keygrip support for unattended key generation to Subkey-Grip support for unattended key generation.
Nov 1 2017, 2:23 AM · gnupg (gpg22)
gniibe added a comment to T2349: Composing a private key from raw key material.

How about adding support with private in keyparam?

  • (genkey(rsa(nbit 2048)(d xxxx)(p xxxx)(q xxxx)(u xxxx))) ; Only p and q, is OK
  • (genkey(ecc(curve cv25519)(flags djb-tweak comp)(d xxx)))
Nov 1 2017, 12:52 AM · libgcrypt, Feature Request
gniibe added a project to T3478: Subkey-Grip support for unattended key generation: gnupg (gpg22).
Nov 1 2017, 12:40 AM · gnupg (gpg22)
gniibe added a subtask for T1734: [SUGGESTION] Implement a function to re-generate public keys and(!) "stubs" from private keys stored on smartcard only: T3478: Subkey-Grip support for unattended key generation.
Nov 1 2017, 12:37 AM · gnupg, Feature Request
gniibe added a parent task for T3478: Subkey-Grip support for unattended key generation: T1734: [SUGGESTION] Implement a function to re-generate public keys and(!) "stubs" from private keys stored on smartcard only.
Nov 1 2017, 12:37 AM · gnupg (gpg22)
gniibe created T3478: Subkey-Grip support for unattended key generation.
Nov 1 2017, 12:36 AM · gnupg (gpg22)

Oct 31 2017

PaulJ added a comment to T3460: password display box remains hidden.

I am experiencing this error too and did not see any way to get to the Pinentry window. Only after killing the hung outlook process did the Pinentry window pop up.

Oct 31 2017, 9:32 PM · gpg4win, Bug Report
uwestoehr created T3477: signed files cannot be verified.
Oct 31 2017, 3:33 AM · Bug Report, gpg4win
uwestoehr created T3476: Kleopatra crashes with GPG4Win 3.0.
Oct 31 2017, 3:24 AM · Bug Report, gpg4win
uwestoehr updated the task description for T3475: GpgEX fails with GPG4Win 3.
Oct 31 2017, 3:18 AM · Duplicate, Bug Report, gpg4win
uwestoehr created T3475: GpgEX fails with GPG4Win 3.
Oct 31 2017, 3:17 AM · Duplicate, Bug Report, gpg4win