Page MenuHome GnuPG
Feed All Stories

Nov 3 2017

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

Oct 30 2017

bernhard added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.

When receiving an S/MIME mail that is encrypted, the successful log looks like:

Oct 30 2017, 5:49 PM · gpg4win, gpgol, Bug Report
bjmgeek created T3474: gpg: Note: '--list-options' is not considered an option.
Oct 30 2017, 3:32 PM · Bug Report
gniibe added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

clock returns CPU time on POSIX, wall clock time on Windows. For threads, I don't know.

Oct 30 2017, 12:52 PM · Bug Report
annmuor created T3473: gnupg agent configurable backlog for sockets.
Oct 30 2017, 12:23 PM · gpgagent, Feature Request
bernhard added a comment to T3442: S/MIME - Encrypt Option produces broken Mails in Sent Folder and leads to crash of GpgOL.

Comparing the gpgol.log files in the case of OpenPGP decryption (successful) and S/MIME decryption in send folder (failing).

Oct 30 2017, 11:24 AM · gpg4win, gpgol, Bug Report
bernhard added a comment to T3459: GPGOL Moving mails is not possible if the decrypted / verified content is loaded.

Here is the link to the wald report by John Mrkva:
https://wald.intevation.org/forum/forum.php?thread_id=1785&forum_id=21&group_id=11

Oct 30 2017, 9:42 AM · gpg4win, gpgol, Bug Report
gniibe committed rGd63b7966cdd7: g10: Simplify "factory-reset" procedure. (authored by gniibe).
g10: Simplify "factory-reset" procedure.
Oct 30 2017, 6:23 AM
gniibe closed T3286: card: Yubikey factory-reset failure as Resolved.

D441 applied. Closed.

Oct 30 2017, 6:20 AM · gnupg (gpg22), scd
gniibe abandoned D441: card: Yubikey factory-reset failure.

Applied.

Oct 30 2017, 6:19 AM
gniibe added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

Thanks for testing and proposing new patch.

Oct 30 2017, 3:17 AM · Bug Report

Oct 29 2017

pkoevesdi added a comment to T3459: GPGOL Moving mails is not possible if the decrypted / verified content is loaded.

Same here: I can confirm the bug. I can move an email, if i unselect it before an then use its context menu to move it.
This behaviour is already mentioned in the readme:
c:\Program Files (x86)\Gpg4win\share\gpg4win\README.en.txt

Oct 29 2017, 8:55 PM · gpg4win, gpgol, Bug Report
hefee added a comment to T3471: gpgme decryptverify indicating wrongly an error..

Oh sorry i mixed my explanation. I create a normal encrypted file with gpg --encrypt and this file can be decrypted successfully with "gpg -d".
But if I give that encrypted file to gpgme i get the described error, instead of GpgME::Error(0 (Success))).

Oct 29 2017, 3:04 PM · Not A Bug, gnupg, Bug Report
gouttegd added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

OK, the problem with D450 lies in the way the value obtained from clock_gettime(2) is used.

Oct 29 2017, 12:57 PM · Bug Report
gouttegd created D451: agent: Fix S2K calibration..
Oct 29 2017, 12:52 PM

Oct 28 2017

vext01 added a comment to T3472: gpgme-1.9.0 test suite hangs on OpenBSD.

Here are a couple of traces of the hanging t-protect test under the VM. I just let it run for a bit under gdb and pressed ctrl+c on a couple of occasions:

Oct 28 2017, 9:14 PM · gpgagent, gnupg (gpg22), gpgme
vext01 added a comment to T3472: gpgme-1.9.0 test suite hangs on OpenBSD.

I've been experimenting.

Oct 28 2017, 8:47 PM · gpgagent, gnupg (gpg22), gpgme
dkg added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

agreed, generically changing this check to log_info doesn't make sense. However, in *this circumstance*, gpg actually has no error.

Oct 28 2017, 2:12 PM · gpgme, Bug Report
Nillth added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Hi,
I have tried this on Windows 10 (1511,1703,1709&RS4TP)
Gpg4win Version 3.0.0
Regards

Oct 28 2017, 3:46 AM · gpg4win, Windows, gpgex, Bug Report
cuenta added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Hi,
I was using Windows 7 Professional.
The last version that worked was gpg4win 2.3.4 (I didn't try any beta or rc), and encryption/decryption works fine for single files.

Oct 28 2017, 12:40 AM · gpg4win, Windows, gpgex, Bug Report
gouttegd added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

It turns out I cannot reproduce the bug with a 4.13.2 kernel. Whatever happened to times in slightly older kernels when VIRT_CPU_ACCOUNTING_GEN was enabled seems to have been fixed in newer kernels.

Oct 28 2017, 12:40 AM · Bug Report

Oct 27 2017

werner added a comment to T3471: gpgme decryptverify indicating wrongly an error..

"gpg -d" decrypts data why do you think you can decrypt or verify it again?

Oct 27 2017, 11:02 PM · Not A Bug, gnupg, Bug Report
vext01 created T3472: gpgme-1.9.0 test suite hangs on OpenBSD in the S1 Public space.
Oct 27 2017, 7:06 PM · gpgagent, gnupg (gpg22), gpgme
JUB added a comment to T3467: Wrong installation directory for GnuPG.

Why I shouldn't do that? Sorry, but I can't see a reason to pin the installation directory to a predefined value ("well known location").
Then, why can I still change the installation directory for gpg4win?

Oct 27 2017, 3:08 PM · Bug Report, gpg4win
hefee created T3471: gpgme decryptverify indicating wrongly an error..
Oct 27 2017, 2:16 PM · Not A Bug, gnupg, Bug Report
werner committed rGf6ab97fd9620: Merge branch 'STABLE-BRANCH-2-2' into master (authored by werner).
Merge branch 'STABLE-BRANCH-2-2' into master
Oct 27 2017, 2:15 PM
werner added a comment to T3467: Wrong installation directory for GnuPG.

You can't and you shall not.

Oct 27 2017, 1:34 PM · Bug Report, gpg4win
bernhard updated subscribers of T3470: Issue with the Sign and Encrypt Explorer Context Menu option.
Oct 27 2017, 10:56 AM · gpg4win, Windows, gpgex, Bug Report
bernhard added projects to T3470: Issue with the Sign and Encrypt Explorer Context Menu option: Windows, gpg4win.
Oct 27 2017, 10:54 AM · gpg4win, Windows, gpgex, Bug Report
bernhard added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

Hi, thanks for the report.

Oct 27 2017, 10:53 AM · gpg4win, Windows, gpgex, Bug Report
cuenta added a comment to T3470: Issue with the Sign and Encrypt Explorer Context Menu option.

I have also experience the same bug and reported it on:
https://bugs.kde.org/show_bug.cgi?id=385390

Oct 27 2017, 10:38 AM · gpg4win, Windows, gpgex, Bug Report
werner added a comment to T3464: successful decryption with session key reports failure if public key is unknown.
$ gpg --homedir /notexistent -dv <1.msg --override-session-key 7:D6E1027D58A0CB047C41EA881A137197 --status-fd 2 
gpg: keyblock resource '/notexistent/pubring.kbx': No such file or directory
[GNUPG:] ERROR add_keyblock_resource 33587281
gpg: public key is 7F3B7ED4319BCCA8
[GNUPG:] ENC_TO 7F3B7ED4319BCCA8 18 0
[GNUPG:] ERROR keydb_search 33554445
gpg: encrypted with ECDH key, ID 7F3B7ED4319BCCA8

Indeed, this makes gpg return 2. The reason is that the first error message uses log_error which sets a flag to have gpg return 2. Now, changing this to log_info may produce problems for applications which expect that gpg errors out for a bad homedir.

Oct 27 2017, 9:52 AM · gpgme, Bug Report
werner accepted rGfb7828676cc2: agent: Clean up pinentry access locking..
Oct 27 2017, 9:41 AM
werner added a comment to T3190: Recursive call of pinentry.

Oh I see you did the Right Thing which back then I was too lazy to do. Thanks.

Oct 27 2017, 9:36 AM · gnupg (gpg22)
werner removed 2 auditor(s) for rD6021eb85de1a: web: Fix bitcoin address.: kai, aa.
Oct 27 2017, 9:34 AM
werner added a comment to rD6021eb85de1a: web: Fix bitcoin address..

1 - How that key pair was seeded ? For Instance.

Oct 27 2017, 9:33 AM
dkg added a comment to T3464: successful decryption with session key reports failure if public key is unknown.

can you try it with --homedir /does/not/exist

Oct 27 2017, 8:28 AM · gpgme, Bug Report
gniibe committed rGfb7828676cc2: agent: Clean up pinentry access locking. (authored by gniibe).
agent: Clean up pinentry access locking.
Oct 27 2017, 3:22 AM
Nillth updated the task description for T3470: Issue with the Sign and Encrypt Explorer Context Menu option.
Oct 27 2017, 2:45 AM · gpg4win, Windows, gpgex, Bug Report
Nillth created T3470: Issue with the Sign and Encrypt Explorer Context Menu option.
Oct 27 2017, 2:43 AM · gpg4win, Windows, gpgex, Bug Report
gniibe added a comment to rG3b66a256e376: agent: Allow recursive use of pinentry..

The code can be changed like:

  • ENTRY_LOCK for mutual exclusion for ENTRY_CTX and pinentry communication
  • Add ENTRY_OWNER_LOCK for mutual exclusion for accessing ENTRY_OWNER and ENTRY_LEVEL.
Oct 27 2017, 2:25 AM
gniibe added a comment to rG3b66a256e376: agent: Allow recursive use of pinentry..

I'm going to change the code a bit.

Oct 27 2017, 1:52 AM

Oct 26 2017

cipherpunks added a comment to T3469: gpg: decryption failed: No secret key <= after debian upgrade from Jessie to Stretch.

I got it working.. turns out I had to force a migration by doing an rm ~/.gnupg/.gpg-v21-migrated.

Oct 26 2017, 7:51 PM · Support, Documentation
cipherpunks created T3469: gpg: decryption failed: No secret key <= after debian upgrade from Jessie to Stretch.
Oct 26 2017, 7:34 PM · Support, Documentation
cipherpunks added a comment to T3439: error "This key is not certified with a trusted signature!" despite fully trusted key.

Thanks!

Oct 26 2017, 7:23 PM · Bug Report
gouttegd added a comment to T3276: the calibrate_get_time() function depends on a system that has a non-tickless kernel.

The Linux specific solution in /D450 looks like a good solution but it needs some testing.

Oct 26 2017, 6:20 PM · Bug Report
aa added a comment to T3286: card: Yubikey factory-reset failure .
Oct 26 2017, 5:19 PM · gnupg (gpg22), scd
werner edited projects for T3277: decrypting data symmetrically doesn't reliably convey confidentiality property, added: Feature Request; removed Bug Report.

I would consider this feature request. Right now you can do this by providing an empty keyring.

Oct 26 2017, 5:09 PM · Feature Request, gnupg (gpg22)
werner added a comment to T3286: card: Yubikey factory-reset failure .

I am pretty sure that older cards required this behaviour. It might have been a workaround for a bug in scdaemon, though - I am not sure. So we should test this with all available card versions.

Oct 26 2017, 4:58 PM · gnupg (gpg22), scd
werner created T3468: Admin for Phrabicator needed.
Oct 26 2017, 4:53 PM · dev.gnupg.org
JUB added a comment to T3467: Wrong installation directory for GnuPG.

But how can I influence the target directory for GnuPG during an automatic installation? We are not using the default directories.

Oct 26 2017, 4:51 PM · Bug Report, gpg4win
werner assigned T3422: Latest gpg4win-3.0.0 does not show nor create Gp4Win start menu, no doc available after install (Win7-64) to JochenSaalfeld.
Oct 26 2017, 4:43 PM · gpg4win, Bug Report
werner closed T3467: Wrong installation directory for GnuPG as Invalid.

Right, this differs. GnuPG is now installed at a well known location. Actually the Gpg4win installer includes the standard GnuPG installer and it is possible to update just GnuPG without a need to update the entire gpg4win.
This avoid multiple installs of GnuPG with all its problems.

Oct 26 2017, 4:41 PM · Bug Report, gpg4win
JUB created T3467: Wrong installation directory for GnuPG.
Oct 26 2017, 3:15 PM · Bug Report, gpg4win
JUB added a comment to T3422: Latest gpg4win-3.0.0 does not show nor create Gp4Win start menu, no doc available after install (Win7-64).

Hello all together,

Oct 26 2017, 2:55 PM · gpg4win, Bug Report