Page MenuHome GnuPG
Feed All Stories

Jul 25 2019

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
summitto added a comment to T169: Add a way to generate keypairs from a passphrase.

Hi everyone,

Jul 22 2019, 8:47 AM · gnupg, Feature Request
gniibe changed the status of T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="' from Open to Testing.

Backported.

Jul 22 2019, 7:23 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rGb21133ba80f2: gpg: The option --passphrase= can be empty. (authored by gniibe).
gpg: The option --passphrase= can be empty.
Jul 22 2019, 4:27 AM
gniibe added a comment to T4646: scd: Increase CCID timeout for Trustica Cryptoucan.

I realized that it's a product of token. Then, I suggest that implementing time extension correctly, if some operation doesn't finish in BWT (block waiting time).

Jul 22 2019, 4:16 AM · scd, Bug Report
gniibe committed rKb92ec7f502d9: build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper program. (authored by gniibe).
build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper program.
Jul 22 2019, 4:13 AM
gniibe committed rG13bc0431ff1c: scd: Error code map fix for older Yubikey. (authored by gniibe).
scd: Error code map fix for older Yubikey.
Jul 22 2019, 3:17 AM
gniibe claimed T4645: scd: Configurable pinpad timeout.

In general, if it requires more time, a reader can reply with time extension.

Jul 22 2019, 2:24 AM · Info Needed, scd, Feature Request
gniibe claimed T4646: scd: Increase CCID timeout for Trustica Cryptoucan.

What's Trustica Cryptoucan?
In general, if it requires more time, a reader can reply with time extension.

Jul 22 2019, 2:18 AM · scd, Bug Report
gniibe added a comment to T4631: Difficulties to generate key on OpenPGP Smart Card V3.3.

FYI, we have "factory-reset" command in gpg --card-edit; It is not enough for a card to have admin locked state, but it requires normal user locked state, too.

Jul 22 2019, 2:11 AM · scd, Bug Report

Jul 20 2019

dkg committed rG6ca2289a9d9c: dirmngr: Don't add system CAs for SKS HKPS pool. (authored by gniibe).
dirmngr: Don't add system CAs for SKS HKPS pool.
Jul 20 2019, 8:21 PM
dkg committed rG9e12829299c7: gpg: Fix keyring retrieval. (authored by gniibe).
gpg: Fix keyring retrieval.
Jul 20 2019, 8:21 PM
dkg committed rGf56d60f43bcc: gpg: Improve import slowness. (authored by gniibe).
gpg: Improve import slowness.
Jul 20 2019, 8:21 PM
dkg committed rGca820eda3248: fix spelling (authored by dkg).
fix spelling
Jul 20 2019, 8:21 PM
dkg committed rGab76d6483741: gpg: drop import-clean from default keyserver import options (authored by dkg).
gpg: drop import-clean from default keyserver import options
Jul 20 2019, 8:21 PM
dkg committed rG253024a536a3: Use hkps://keys.openpgp.org as the default keyserver (authored by dkg).
Use hkps://keys.openpgp.org as the default keyserver
Jul 20 2019, 8:21 PM
dkg committed rG4c9bfbe23877: Make gpg-zip use tar from $PATH (authored by dkg).
Make gpg-zip use tar from $PATH
Jul 20 2019, 8:21 PM
dkg committed rGe70841404d72: gpg: allow import of previously known keys, even without UIDs (authored by Valodim).
gpg: allow import of previously known keys, even without UIDs
Jul 20 2019, 8:21 PM
dkg committed rGb2605ad61451: gpg: accept subkeys with a good revocation but no self-sig during import (authored by Valodim).
gpg: accept subkeys with a good revocation but no self-sig during import
Jul 20 2019, 8:21 PM
dkg committed rG2627cd5e54ab: tests: add test cases for import without uid (authored by Valodim).
tests: add test cases for import without uid
Jul 20 2019, 8:21 PM
dkg committed rG263a07f04d13: dirmngr: Only use SKS pool CA for SKS pool (authored by dkg).
dirmngr: Only use SKS pool CA for SKS pool
Jul 20 2019, 8:21 PM
dkg committed rGa446c4db9574: gpg: Default to SHA-512 for all signature types on RSA keys. (authored by dkg).
gpg: Default to SHA-512 for all signature types on RSA keys.
Jul 20 2019, 8:21 PM
dkg committed rG7576681260e6: gpg: Prefer SHA-512 and SHA-384 in personal-digest-preferences. (authored by dkg).
gpg: Prefer SHA-512 and SHA-384 in personal-digest-preferences.
Jul 20 2019, 8:21 PM
dkg committed rGf7c787285335: gpg: default to AES-256. (authored by dkg).
gpg: default to AES-256.
Jul 20 2019, 8:21 PM