Page MenuHome GnuPG
Feed All Stories

Jul 26 2019

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
gniibe claimed T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Thanks for your report, with helpful log.

Jul 25 2019, 1:40 AM · scd, Restricted Project, Bug Report

Jul 24 2019

martin.von.wittich created T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.
Jul 24 2019, 6:20 PM · scd, Restricted Project, Bug Report
aheinecke committed rGTO8d5a75e974b0: Add offset for info button tooltip (authored by aheinecke).
Add offset for info button tooltip
Jul 24 2019, 6:16 PM
aheinecke added a comment to T4653: Kleopatra - Change Expiry Date.

thanks for the report and trying to help with Gpg4win. The underlying problem is that our backend (GnuPG) does not provide proper error handling when changing the expiry date. We already had an issue for that so I've merged this task with T4395.

Jul 24 2019, 9:47 AM · Bug Report, gpg4win
aheinecke merged task T4653: Kleopatra - Change Expiry Date into T4395: Kleopatra: Missing error handling when changing expiry.
Jul 24 2019, 9:46 AM · Bug Report, gpg4win
aheinecke merged T4653: Kleopatra - Change Expiry Date into T4395: Kleopatra: Missing error handling when changing expiry.
Jul 24 2019, 9:46 AM · gpa, gnupg, gpgme, gpg4win, kleopatra
gniibe committed rG044379772fc5: common: Fix the previous commit. (authored by gniibe).
common: Fix the previous commit.
Jul 24 2019, 8:34 AM
gniibe committed rGb1c56cf9e2bb: common: Use gnupg_spawn_process_fd to invoke gpg-agent/dirmngr. (authored by gniibe).
common: Use gnupg_spawn_process_fd to invoke gpg-agent/dirmngr.
Jul 24 2019, 8:25 AM
gniibe committed rGa64411c607d5: common,w32: Fix cast from gnupg_fd_t to call _open_osfhandle. (authored by gniibe).
common,w32: Fix cast from gnupg_fd_t to call _open_osfhandle.
Jul 24 2019, 7:29 AM
gniibe committed rE655ed9d83889: w32: Fix HANDLE to internal fd conversion. (authored by gniibe).
w32: Fix HANDLE to internal fd conversion.
Jul 24 2019, 7:21 AM
dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

I've just posted rGb84feb0c82eb to the dkg-fix-T4652 branch, which solves the failure problems by making agent_pkdecrypt and gpgsm_agent_pkdecrypt more robust.

Jul 24 2019, 6:24 AM · gnupg, Bug Report
dkg committed rGb84feb0c82eb: agent: Do not place a trailing NUL byte on S-expression (authored by dkg).
agent: Do not place a trailing NUL byte on S-expression
Jul 24 2019, 6:23 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAaabfeaa0060a: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Jul 24 2019, 5:40 AM
jeffb255 renamed T4653: Kleopatra - Change Expiry Date from Kleopatra - Change Certi to Kleopatra - Change Expiry Date.
Jul 24 2019, 3:46 AM · Bug Report, gpg4win
jeffb255 created T4653: Kleopatra - Change Expiry Date.
Jul 24 2019, 3:45 AM · Bug Report, gpg4win

Jul 23 2019

dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

fwiw, this patch appears to cause gpgsm to fail its test suite:

Jul 23 2019, 6:46 PM · gnupg, Bug Report
Alexander Potashev <aspotashev@gmail.com> committed rKLEOPATRAe8ee6a35065e: i18n: Add context @title:window to window titles (authored by Alexander Potashev <aspotashev@gmail.com>).
i18n: Add context @title:window to window titles
Jul 23 2019, 6:00 PM
dkg committed rG1ae16838660a: agent: Do not place a trailing NUL byte on S-expression (authored by dkg).
agent: Do not place a trailing NUL byte on S-expression
Jul 23 2019, 5:48 PM
dkg updated the task description for T4652: avoid unnecessary trailing NUL byte in S-expressions.
Jul 23 2019, 5:46 PM · gnupg, Bug Report
dkg renamed T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line from Issue with gpg.exe to "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.
Jul 23 2019, 5:43 PM · Info Needed, gpg4win, Bug Report
dkg committed rG804ca2dba258: agent: Do not place a trailing NUL byte on S-expression (authored by dkg).
agent: Do not place a trailing NUL byte on S-expression
Jul 23 2019, 5:41 PM
dkg added a comment to T4652: avoid unnecessary trailing NUL byte in S-expressions.

I've just pushed rG1ae16838660a to the dkg-fix-T4652 branch (i just adjusted it the commit message to include the GnuPG-bug-id)

Jul 23 2019, 5:40 PM · gnupg, Bug Report
dkg created T4652: avoid unnecessary trailing NUL byte in S-expressions.
Jul 23 2019, 5:37 PM · gnupg, Bug Report
cezar191 added a comment to T3819: GpgOL Add-In not working in Outlook 2016.

I installed microsoft office 2016 on a brand new laptop and got the same problem described in the post listed above.
My solution was to uninstall the pre-configured app : "Microsoft Office Desktop Apps" and voila!!

Jul 23 2019, 5:02 PM · gpgol
njcooke added a comment to T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.

Thanks aheinecke and dkg.
I havent been able to replicate the fault using the command line (using the exact same command and options that our program is calling)
however our R&D dept have,
The next time it fails and we can replicate it we will try the --homedir fix and see if thats it.
Its the same user in the program and command prompt so we dont think its a certificate issue.

Jul 23 2019, 9:39 AM · Info Needed, gpg4win, Bug Report
aheinecke closed T4568: Gpg4win / Kleopatra: Export from clipboard not supported as Wontfix.

when you double click a key and then click "Export" you get a copy & paste version of the key.

Jul 23 2019, 9:20 AM
aheinecke claimed T4576: Outlook window de-(half-)maximizes and misplaced after writing answer.

Thanks for the report. It is always good to have such issues documented.

Jul 23 2019, 9:17 AM · Bug Report, gpg4win
aheinecke added a comment to T4650: Kleopatra crashed with an application error (Windows).

This pretty much matches my test setup. As the crash is in GPGME it is out of Kleopatra's hand. So I'll try to write a test that repeats such a signing for lots of times. I think this is probably some random race condition.

Jul 23 2019, 9:14 AM · gpgme, kleopatra, Bug Report, gpg4win
aheinecke triaged T4615: gpg.exe very slow as Normal priority.

I think that even if the reason is corrupted keys it would be good to handle this better, either in Kleopatra or in GnuPG. e.g. Kleopatra could detect if a keylisting takes too long and offer to do some cleanup programatically.

Jul 23 2019, 9:12 AM · Bug Report, gpg4win
florianh added a comment to T4650: Kleopatra crashed with an application error (Windows).

I don't think I can reproduce it, at least it didn't happen anymore after restarting and continuing the imports. AFAIR it happened after importing the "Master Key", during trying to import the "Release Key" from https://www.chiark.greenend.org.uk/~sgtatham/putty/keys.html
Ah and maybe one more hint: I have several keypairs, so the dialog for choosing the keypair to be used appears in the next step.

Jul 23 2019, 9:12 AM · gpgme, kleopatra, Bug Report, gpg4win
aheinecke triaged T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line as Low priority.

I'm also not sure how to classify this issue. I'm giving it low priority for now as we do not have the info to determine if this is a program error.

Jul 23 2019, 9:08 AM · Info Needed, gpg4win, Bug Report
aheinecke created T4651: Fix Gpgrelay to build with mingw and work with GnuPG > 2.1.
Jul 23 2019, 8:57 AM · gpg4win
aheinecke claimed T4648: Bug reporting form doesn't recognize Windows 10.

I think we had that issue in the past and solved it. It probably broke again. There is an external library we use for this dialog and that might have regressed in the latest update.

Jul 23 2019, 8:52 AM · Bug Report, gpg4win
aheinecke added projects to T4650: Kleopatra crashed with an application error (Windows): kleopatra, gpgme.
Jul 23 2019, 8:50 AM · gpgme, kleopatra, Bug Report, gpg4win
aheinecke claimed T4650: Kleopatra crashed with an application error (Windows).

Mmh, the error log only tells me that it crashed in our GPGME library. So it is a bug in our software.

Jul 23 2019, 8:50 AM · gpgme, kleopatra, Bug Report, gpg4win
aheinecke claimed T4649: Improvement proposal for the trusting process (Beglaubigung).

Hi Florian,

Jul 23 2019, 8:47 AM · Bug Report, gpg4win
florianh created T4650: Kleopatra crashed with an application error (Windows).
Jul 23 2019, 8:44 AM · gpgme, kleopatra, Bug Report, gpg4win
florianh created T4649: Improvement proposal for the trusting process (Beglaubigung).
Jul 23 2019, 8:40 AM · Bug Report, gpg4win
florianh created T4648: Bug reporting form doesn't recognize Windows 10.
Jul 23 2019, 8:20 AM · Bug Report, gpg4win
gniibe committed rG7bfbb9fa7e76: gpg: A little clean up. (authored by gniibe).
gpg: A little clean up.
Jul 23 2019, 5:55 AM
dkg added a comment to T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.

This report doesn't contain enough information to be able to tell you why the command is failing within your program, but not failing outside of it.

Jul 23 2019, 5:16 AM · Info Needed, gpg4win, Bug Report
njcooke created T4647: "gpg.exe -se" fails when run programmatically, but does not fail when run from the command line.
Jul 23 2019, 1:39 AM · Info Needed, gpg4win, Bug Report

Jul 22 2019

nephirus added a comment to T4646: scd: Increase CCID timeout for Trustica Cryptoucan.

Thanks for clarification.
However, CCID_CMD_TIMEOUT should be then based on BWT value reported by the card/reader, as bulk_in() function will still timeout if BWT is longer than 5 seconds.

Jul 22 2019, 12:50 PM · scd, Bug Report
nephirus closed T4645: scd: Configurable pinpad timeout as Invalid.

Thanks for pointing me in the right direction. I was confused by the hard-coded timeout value and got it all wrong.

Jul 22 2019, 12:26 PM · Info Needed, scd, Feature Request
gniibe committed rC6d80f3f12dc2: build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs. (authored by gniibe).
build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs.
Jul 22 2019, 9:25 AM
gniibe committed rC6126fc2f180a: build: Fix previous commit. (authored by gniibe).
build: Fix previous commit.
Jul 22 2019, 9:25 AM