Page MenuHome GnuPG
Feed All Stories

Aug 4 2019

Laurent Montel <montel@kde.org> committed rLIBKLEO059cbd300ad6: GIT_SILENT: Prepare 5.12.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.12.0
Aug 4 2019, 7:37 PM

Aug 3 2019

dkg created T4668: `gpgconf --launch gpg-agent` tells me to run `gpgconf --check-options gpg-agent`, but the latter command gives me no information.
Aug 3 2019, 7:30 PM · gnupg (gpg22), Bug Report
dkg created T4667: "gpg: deleting secret key failed: No pinentry" when in --batch mode with --pinentry=loopback.
Aug 3 2019, 7:15 PM · gnupg24, gnupg (gpg23), Bug Report
dkg added a comment to T4666: gpg --delete-secret-keys: excessive and unclear prompting, surprising outcomes.

I also observe that the text in the GUI prompts is remarkably unclear on its own. setting aside the grammar, punctuation, and wording, the prompts don't expose the usage flags set for the secret keys, which is possibly the only detail that a user with a single OpenPGP certificate would care about: "am i deleting my signing-capable subkey or my decryption-capable subkey?"

Aug 3 2019, 7:10 PM · gnupg24, gnupg (gpg23), Bug Report
dkg created T4666: gpg --delete-secret-keys: excessive and unclear prompting, surprising outcomes.
Aug 3 2019, 7:05 PM · gnupg24, gnupg (gpg23), Bug Report
Rycky_Tigg closed T4664: No prompts for password while decrypting as Invalid.

I was able to avoid reported behaviour; then n not a bug.

Aug 3 2019, 6:02 PM · Bug Report
dkg created T4665: gpg --delete-key of subkey leaves dangling subkey binding signature.
Aug 3 2019, 5:12 PM · gnupg (gpg22), Bug Report
Rycky_Tigg created T4664: No prompts for password while decrypting.
Aug 3 2019, 1:52 PM · Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEOfddf5e8de1ff: GIT_SILENT: Prepare 5.12.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.12.0
Aug 3 2019, 11:44 AM

Aug 2 2019

werner triaged T4663: libgcrypt: fix build without threads by adding an option to disable tests as Normal priority.
Aug 2 2019, 11:33 AM · libgcrypt, Bug Report
ffontaine updated the task description for T4663: libgcrypt: fix build without threads by adding an option to disable tests.
Aug 2 2019, 10:02 AM · libgcrypt, Bug Report
ffontaine created T4663: libgcrypt: fix build without threads by adding an option to disable tests.
Aug 2 2019, 10:00 AM · libgcrypt, Bug Report
werner triaged T4661: gpg-agent "getinfo cmd_has_option" is frequently wrong as Low priority.
Aug 2 2019, 9:51 AM · Documentation, gpgagent

Jul 31 2019

werner triaged T4662: --locate-external-keys does not interact well with --no-auto-key-locate as Normal priority.
Jul 31 2019, 9:38 PM · gnupg (gpg22), Bug Report
dkg created T4662: --locate-external-keys does not interact well with --no-auto-key-locate.
Jul 31 2019, 7:31 PM · gnupg (gpg22), Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEO2575e4028dcf: GIT_SILENT: Prepare 5.12.0 rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.12.0 rc
Jul 31 2019, 6:08 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA2a7b974503f8: GIT_SILENT: Prepare 5.12.0 rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.12.0 rc
Jul 31 2019, 5:55 PM
dkg reopened T4661: gpg-agent "getinfo cmd_has_option" is frequently wrong as "Open".

Please update the documentation for the function in that case.

Jul 31 2019, 4:49 PM · Documentation, gpgagent
dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

Please see my explanation on gnupg-devel about why the trailing NUL is a source of pain and difficulty for would-be adopters.

Jul 31 2019, 4:45 PM · gnupg, Bug Report
werner triaged T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts as Wishlist priority.
Jul 31 2019, 12:42 PM · Memo
werner added a project to T4656: Windows 64-bit: functions which use pid_t: Memo.
Jul 31 2019, 12:42 PM · Memo
werner set the color for Memo to Orange.
Jul 31 2019, 12:41 PM
werner triaged T4656: Windows 64-bit: functions which use pid_t as Wishlist priority.

Lacking another category for such things, I dropped the priority.

Jul 31 2019, 12:39 PM · Memo
werner triaged T4619: Unable to decrypt symmetric-key encrypted data as Normal priority.
Jul 31 2019, 12:37 PM · gnupg24, gnupg (gpg23), Bug Report
werner triaged T4642: gpa searches for gpg2keys_ldap, should be dirmngr_ldap as Normal priority.

Well, gpa needs to use gpgme's interface for receiving and sending keys. The use of the helper programs an old hack.

Jul 31 2019, 12:36 PM · gpa
werner triaged T4652: avoid unnecessary trailing NUL byte in S-expressions as Low priority.
Jul 31 2019, 12:34 PM · gnupg, Bug Report
werner added a comment to T4620: no support for multiple (yubikey) smartcards plugged in at the same time.

Right, master will be 2.3.

Jul 31 2019, 8:54 AM · Restricted Project, Bug Report
werner triaged T4644: gpg: implement keybox compression run as Normal priority.
Jul 31 2019, 8:53 AM · gnupg (gpg22), Bug Report
werner added a comment to T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

Actually all this code shall be replaced by new code from gpgrt. Most likely using estream_t for all of them.

Jul 31 2019, 8:53 AM · Memo
werner closed T4661: gpg-agent "getinfo cmd_has_option" is frequently wrong as Invalid.

No, it was not in mind. I introduced this only for backward compatibility. It will be extended iff we have a need for it.

Jul 31 2019, 8:51 AM · Documentation, gpgagent
werner added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

Appending a nul byte is fail-safe programming and helps in debugging. It is on purpose and shall not be removed.

Jul 31 2019, 8:49 AM · gnupg, Bug Report

Jul 30 2019

werner added a comment to T4656: Windows 64-bit: functions which use pid_t.

Actually my not-written-down plan is to use a Windows like style for tracking a process. This will also resolve the pid rollover problem. It shall all go into gpgrt of course.

Jul 30 2019, 6:58 PM · Memo
gniibe added a comment to T4661: gpg-agent "getinfo cmd_has_option" is frequently wrong.

My understanding is: it was introduced by rG370f841a0135: Enhanced last patch. in 2009 to give information to client (for a specific command at that time), possibly in a hope that server side would support the feature for all commands (and client could benefits).

Jul 30 2019, 8:59 AM · Documentation, gpgagent

Jul 29 2019

dkg created T4661: gpg-agent "getinfo cmd_has_option" is frequently wrong.
Jul 29 2019, 8:54 PM · Documentation, gpgagent
aheinecke added a comment to T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication).

I think the problem is the following:

Jul 29 2019, 9:23 AM · pinentry, Bug Report, gpg4win

Jul 28 2019

bb added a comment to T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication).

False alarm. Turns out pinentry-gtk-2.exe is also not working all the time.

Jul 28 2019, 9:22 PM · pinentry, Bug Report, gpg4win
a_p3rson added a comment to T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication).

@bb - I've tried this, this doesn't appear to work. It looks like the Gtk2 pinentry doesn't grab focus when doing authentication, either. Interestingly enough, it also doesn't show in the taskbar.

Jul 28 2019, 12:50 AM · pinentry, Bug Report, gpg4win

Jul 27 2019

bb added a comment to T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication).

Note:
I added:

pinentry-program "C:\Program Files (x86)\Gpg4win\bin\pinentry-gtk-2.exe"

as a workaround to my gpg-agent.conf. This pinentry is able to grab the focus.

Jul 27 2019, 3:58 PM · pinentry, Bug Report, gpg4win
JW-D added a comment to T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

The card was replaced by the vendor. It seems to be a problem with the specific card. All other cards so far worked well. The issue can be closed.

Jul 27 2019, 2:37 PM · scd, Bug Report
bb added a comment to T4123: Pinentry-qt does not always become active foreground window (especially when requesting pin for authentication).

Does anyone has an update on this issue?

Jul 27 2019, 11:59 AM · pinentry, Bug Report, gpg4win
dkg added a comment to T4658: Fix a dangling pointer in pinentry's qt/main.cpp.

I've just uploaded pinentry 1.1.0-3 to debian unstable with this fix in it.

Jul 27 2019, 6:07 AM · pinentry, Bug Report
dkg added a comment to T4658: Fix a dangling pointer in pinentry's qt/main.cpp.

@aheinecke thanks for the heads-up. i'll pull this in.

Jul 27 2019, 1:16 AM · pinentry, Bug Report

Jul 26 2019

gniibe triaged T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7 as Normal priority.
Jul 26 2019, 10:35 PM · scd, Restricted Project, Bug Report
gniibe added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Thanks. So, this is a positive report for 8E60:34C2. I'm going to add this VID:PID to support pinpad input by the internal CCID driver.

Jul 26 2019, 10:34 PM · scd, Restricted Project, Bug Report
martin.von.wittich added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Pinpad input is not supported for Gemalto Ezio Shield, currently. OpenPGP card expects variable length pinpad input, and we don't have any positive report with the card reader.

Jul 26 2019, 2:46 PM · scd, Restricted Project, Bug Report
asv added a comment to T4620: no support for multiple (yubikey) smartcards plugged in at the same time.

we won't backport it to 2.2

Jul 26 2019, 10:55 AM · Restricted Project, Bug Report
asv added a comment to T3388: Kleopatra does not offer ascii armor.

Can you help me please to understand why you think that this is a regular use case?

Jul 26 2019, 10:46 AM · gpg4win, Bug Report
aheinecke added a comment to T3388: Kleopatra does not offer ascii armor.

Fairly typical situation: user needs to encrypt binary and text regularly

Jul 26 2019, 7:30 AM · gpg4win, Bug Report
gniibe added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Pinpad input is not supported for Gemalto Ezio Shield, currently. OpenPGP card expects variable length pinpad input, and we don't have any positive report with the card reader.

Jul 26 2019, 3:50 AM · scd, Restricted Project, Bug Report
asv added a comment to T3388: Kleopatra does not offer ascii armor.

@aheinecke , Would you consider re-opening this ticket?

Jul 26 2019, 3:35 AM · gpg4win, Bug Report
gniibe committed rG3ba091ab8c93: gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators. (authored by dkg).
gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.
Jul 26 2019, 3:20 AM
gniibe committed rG15fe78184cc6: sm: Fix error checking of decryption result. (authored by gniibe).
sm: Fix error checking of decryption result.
Jul 26 2019, 3:20 AM
gniibe added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

I'm going to push this change to master.

Jul 26 2019, 2:13 AM

Jul 25 2019

martin.von.wittich added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Wow, thanks for the quick response! I've applied your patch to the Ubuntu package (2.2.4-1ubuntu1.2), and gpg --card-status now works fine:

Jul 25 2019, 5:25 PM · scd, Restricted Project, Bug Report
aheinecke added a comment to T4657: GpgOL: Add tooltips to resolver.

I'm not really sure if "No Key" is a better string for "Ignore Recipient". But most other things are either unclear (ignore recipient) or can be misunderstood like (Do not encrypt to this recipient) as this could also mean that the recipient gets an unencrypted mail.

Jul 25 2019, 5:18 PM · gpg4win, gpgol
aheinecke changed the status of T4657: GpgOL: Add tooltips to resolver from Open to Testing.

It now looks like this:

Jul 25 2019, 4:26 PM · gpg4win, gpgol
aheinecke created T4660: Gpg4win 3.1.11.
Jul 25 2019, 4:25 PM · Release Info, gpg4win
aheinecke updated subscribers of T4658: Fix a dangling pointer in pinentry's qt/main.cpp.

@dkg This patch ( rP0e2e53) might also be something for debian as it can cause crashes depending on the qt theme, which is not under our control.

Jul 25 2019, 4:19 PM · pinentry, Bug Report
aheinecke closed T4658: Fix a dangling pointer in pinentry's qt/main.cpp as Resolved.

Thanks!

Jul 25 2019, 4:14 PM · pinentry, Bug Report
aheinecke added a subtask for T4658: Fix a dangling pointer in pinentry's qt/main.cpp: T4659: Release Pinentry-1.1.1.
Jul 25 2019, 4:14 PM · pinentry, Bug Report
aheinecke added a parent task for T4659: Release Pinentry-1.1.1: T4658: Fix a dangling pointer in pinentry's qt/main.cpp.
Jul 25 2019, 4:14 PM · pinentry, Release Info
aheinecke created T4659: Release Pinentry-1.1.1.
Jul 25 2019, 4:13 PM · pinentry, Release Info
pmgdeb added a comment to T4658: Fix a dangling pointer in pinentry's qt/main.cpp.

I can confirm that the patch from the referenced commit fixes the issue. Thanks for the quick action!

Jul 25 2019, 3:37 PM · pinentry, Bug Report
aheinecke committed rP0e2e53c8987d: qt: Fix use of dangling pointer in QApplication (authored by aheinecke).
qt: Fix use of dangling pointer in QApplication
Jul 25 2019, 3:27 PM
dkg added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

@aheinecke

Due to socket forwarding we can have different versions of gpg-agent and gpg / gpgsm because they are on different machines and afaik we try to support it.

Jul 25 2019, 2:54 PM
aheinecke added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

As far as I know, usually, gpg/gpgsm can assume same version of gpg-agent.

Jul 25 2019, 2:46 PM
dkg added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

fwiw, if the old gcrypt actually returned a radically different API, it should have a larger SONAME across that change, and NEED_LIBGCRYPT_VERSION should reflect a source version that forces it past that SONAME. I don't know what version of libgcrypt behaved differently -- is there a reference for that?

Jul 25 2019, 2:45 PM
dkg added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

I don't think there's a problem to have a long explanatory message in the main repository, as i think it makes it easier to understand, and space is not an issue.

Jul 25 2019, 2:40 PM
aheinecke changed the status of T4658: Fix a dangling pointer in pinentry's qt/main.cpp from Open to Testing.

thanks for the report. I've commited a different fix 0e2e53c8987d6f236aaef515eb005e8e86397fbc which also should solve the problem.

Jul 25 2019, 2:31 PM · pinentry, Bug Report
aheinecke committed rLIBKLEOdc86520d0515: Add tooltips for custom actions in keyapproval (authored by aheinecke).
Add tooltips for custom actions in keyapproval
Jul 25 2019, 2:08 PM
pmgdeb added a comment to T4658: Fix a dangling pointer in pinentry's qt/main.cpp.

Adding the patch here.

Jul 25 2019, 1:21 PM · pinentry, Bug Report
pmgdeb created T4658: Fix a dangling pointer in pinentry's qt/main.cpp.
Jul 25 2019, 1:19 PM · pinentry, Bug Report
aheinecke set the color for libkleo to Violet.
Jul 25 2019, 11:39 AM
aheinecke created T4657: GpgOL: Add tooltips to resolver.
Jul 25 2019, 11:37 AM · gpg4win, gpgol
gniibe claimed T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

I was afraid that there are wrong usage where HANDLE is passed where int for fd is expected (or opposite).
But it seems, there are only usage where it should be gnupg_fd_t ideally but using int.

Jul 25 2019, 8:25 AM · Memo
gniibe claimed T4656: Windows 64-bit: functions which use pid_t.
Jul 25 2019, 8:22 AM · Memo
gniibe added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

I'd like to push your change to master, if possible with exact check.
Do you intend to put your comment to the master repo? Or, it's for discussion?
It's OK for your topic branch, but, I feel that it would be too long to be included to master repo.

Jul 25 2019, 7:20 AM
gniibe added a comment to T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

I'm confusing if following API should use gnupg_fd_t or not:

  • iobuf_fdopen, iobuf_fdopen_nc
    • Perhaps, these are using int for fd, like es_fdopen
  • set_attrib_fd ?
  • read_passphrase_from_fd ?
  • set_status_fd ?
  • is_secured_file ?
Jul 25 2019, 6:49 AM · Memo
gniibe updated the task description for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.
Jul 25 2019, 6:25 AM · Memo
gniibe added a comment to rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators.

As far as I know, usually, gpg/gpgsm can assume same version of gpg-agent.

Jul 25 2019, 6:21 AM
gniibe added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

I pushed a fix to master: rG858dc9564326: scd: Fix bBWI value.

Jul 25 2019, 4:53 AM · scd, Restricted Project, Bug Report
gniibe changed the status of T4362: Replace the exec funtions for photoids in gpg by our standard exec functions. from Open to Testing.

Except w32_system function, it's done.

Jul 25 2019, 4:48 AM · gnupg, Feature Request
gniibe changed the status of T4362: Replace the exec funtions for photoids in gpg by our standard exec functions., a subtask of T4417: Work needed for gnupg 2.3, from Open to Testing.
Jul 25 2019, 4:48 AM · gnupg (gpg23)
gniibe committed rGc57c5004ec6c: gpg: photoid: Move functions from exec.c. (authored by gniibe).
gpg: photoid: Move functions from exec.c.
Jul 25 2019, 4:47 AM
gniibe committed rGfd9e6ae22eb9: gpg: photoid: Use standard spawn API. (authored by gniibe).
gpg: photoid: Use standard spawn API.
Jul 25 2019, 4:47 AM
gniibe added a comment to T4656: Windows 64-bit: functions which use pid_t.

APIs which need revise (where we use pid_t):

Jul 25 2019, 4:00 AM · Memo
gniibe created T4656: Windows 64-bit: functions which use pid_t.
Jul 25 2019, 3:53 AM · Memo
gniibe updated the task description for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.
Jul 25 2019, 3:46 AM · Memo
gniibe updated the task description for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.
Jul 25 2019, 3:45 AM · Memo
gniibe added a comment to T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

API which uses int for fd:
GnuPG common:

  • gnupg_create_pipe, gnupg_create_outbound_pipe, gnupg_create_inbound_pipe
  • gnupg_spawn_process_fd

gpgrt:

  • gpgrt_make_pipe (not yet exposed to public API)
  • gpgrt_spawn_process_fd (not yet exposed to public API)
Jul 25 2019, 3:44 AM · Memo
gniibe committed rEf93a0358dc82: w32: Fix cast to internal fd. (authored by gniibe).
w32: Fix cast to internal fd.
Jul 25 2019, 3:09 AM
gniibe committed rE5f9f2c32b038: estream: Fix IS_INVALID_FD. (authored by gniibe).
estream: Fix IS_INVALID_FD.
Jul 25 2019, 3:03 AM
gniibe added a comment to T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

HANDLE type casting to long is wrong (it results masking the value to 32-bit, which is not needed).
I fixed:

Jul 25 2019, 2:37 AM · Memo
gniibe created T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.
Jul 25 2019, 2:33 AM · Memo
gniibe committed rG858dc9564326: scd: Fix bBWI value. (authored by gniibe).
scd: Fix bBWI value.
Jul 25 2019, 2:19 AM
gniibe committed rG996c497a864d: scd: Handle CCID bwi of time extension. (authored by gniibe).
scd: Handle CCID bwi of time extension.
Jul 25 2019, 2:19 AM
dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

I've just broken out my changes into two commits, one that makes gpg and gpgsm more robust. That should be applicable without any risk.

Jul 25 2019, 1:59 AM · gnupg, Bug Report
dkg committed rGfdd1567743cc: gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators (authored by dkg).
gpg,gpgsm: Handle pkdecrypt responses with or without NUL terminators
Jul 25 2019, 1:57 AM
dkg committed rGefffd9907b75: agent: Do not place a trailing NUL byte on S-expressions (authored by dkg).
agent: Do not place a trailing NUL byte on S-expressions
Jul 25 2019, 1:57 AM
gniibe removed a project from T4646: scd: Increase CCID timeout for Trustica Cryptoucan: Info Needed.

I see your point (I am also the one who implements reader/token). That's reasonable argument.

Jul 25 2019, 1:54 AM · scd, Bug Report