Page MenuHome GnuPG
Feed Advanced Search

Jun 4 2019

gniibe closed T1709: scm spr332 pinpad entry failure under Windows7 as Resolved.
Jun 4 2019, 2:27 AM · Info Needed, gpg4win, Bug Report
gniibe closed T1082: scd rewrites ~/.gnupg/reader_0.status with same content when SERIALNO is issued as Resolved.
Jun 4 2019, 2:25 AM · gnupg, Info Needed, gpg4win, Bug Report, scd
gniibe closed T3465: --pinentry-mode loopback with --delete-secret-keys as Resolved.
Jun 4 2019, 2:24 AM · gnupg, Bug Report
gniibe committed rG20acc7c02265: g10,agent: Support CONFIRM for --delete-key. (authored by gniibe).
g10,agent: Support CONFIRM for --delete-key.
Jun 4 2019, 2:23 AM
gniibe closed T4166: Improve description of PIN retry counter in the card howto as Resolved.

Thank you for your fix suggestion. I think your change is good. I applied and pushed.

Jun 4 2019, 2:12 AM · Documentation, Bug Report
gniibe committed rD6256cd20fbee: Fix card howto. (authored by gniibe).
Fix card howto.
Jun 4 2019, 2:11 AM
gniibe added projects to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs: Documentation, Emacs.

Sorry, I responded in a mode of "tracking a bug to fix soonish". I should have changed my mode into showing HOWTO.
Thanks for sharing useful link.

Jun 4 2019, 2:07 AM · Emacs, Documentation, pinentry, Bug Report
gniibe added a member for Emacs: gniibe.
Jun 4 2019, 2:03 AM
gniibe set the color for Emacs to Checkered.
Jun 4 2019, 2:03 AM
gniibe closed T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0 as Resolved.
Jun 4 2019, 1:52 AM · Not A Bug, gnupg, gpgme, Bug Report
gniibe committed rGeaf3b89d1115: doc: Add a section for gpg-check-pattern. (authored by gniibe).
doc: Add a section for gpg-check-pattern.
Jun 4 2019, 1:50 AM

Jun 3 2019

gniibe closed T4068: libgcrypt 1.8.3 make check errors as Invalid.
Jun 3 2019, 7:05 AM · Documentation, libgcrypt
gniibe closed T4068: libgcrypt 1.8.3 make check errors, a subtask of T4294: Release Libgcrypt 1.9.0, as Invalid.
Jun 3 2019, 7:05 AM · Release Info, libgcrypt
gniibe closed T4243: Test failure in libgcrypt-1.8.4, a subtask of T4294: Release Libgcrypt 1.9.0, as Invalid.
Jun 3 2019, 6:53 AM · Release Info, libgcrypt
gniibe closed T4243: Test failure in libgcrypt-1.8.4 as Invalid.

This is problem of your setup of your build environment. Closing.

Jun 3 2019, 6:53 AM · Documentation, Tests, libgcrypt, Bug Report
gniibe claimed T4068: libgcrypt 1.8.3 make check errors.

We got reports from Ubuntu users, perhaps, it's good to refer:

Jun 3 2019, 6:24 AM · Documentation, libgcrypt
gniibe claimed T4293: Add dedicated X25519 function to Libcgrypt .
Jun 3 2019, 6:15 AM · Restricted Project, libgcrypt
gniibe closed T4031: gpg-check-pattern.1 in Debian generates warnings from test-groff as Resolved.

I added the section in tools.texi. Closing.

Jun 3 2019, 5:00 AM · Debian, gnupg, Bug Report
gniibe added a comment to T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

For (1): it is broken out-of-the-box, that would be true. When you can configure it properly, there is a way to workaround it. Well, I admit, it's not yet perfect.

Jun 3 2019, 2:59 AM · Emacs, Documentation, pinentry, Bug Report
gniibe claimed T4542: gpg-agent loses characters when prompting for a GPG passphrase over SSH in Emacs.

Thanks for your report. The symptom you have could be only solved by using pinentry loopback mode, or using some special pinentry for CLI, I suppose. pinentry-tty is not sufficient for this usage.

Jun 3 2019, 1:55 AM · Emacs, Documentation, pinentry, Bug Report

May 31 2019

gniibe committed rK0d528fe57906: Fix comments for the data structures. (authored by gniibe).
Fix comments for the data structures.
May 31 2019, 8:14 AM
gniibe added a comment to T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.

FYI, pEp annoyance was addressed and handled here: https://bugs.debian.org/891882
By this patch: https://sources.debian.org/src/enigmail/2:2.0.11+ds1-1/debian/patches/0002-Avoid-auto-download-of-pEpEngine-Closes-891882.patch/

May 31 2019, 7:57 AM · Not A Bug, gnupg, gpgme, Bug Report
gniibe added a comment to T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing.

RFC 5280 only addresses about BCP78 and not about TLP, while RFC 5652, RFC 5755, RFC 5911 and RFC 5912 address explicitly about TLP. In this situation, I wonder if it's better to take the definitions of Extensions, UniqueIdentifier, and GeneralNames from RFC 5280. To be conservative, I don't include them now.

May 31 2019, 7:32 AM · libksba, Feature Request
gniibe committed rK89a3e73d8454: Fix, it's RFC 5280. (authored by gniibe).
Fix, it's RFC 5280.
May 31 2019, 7:26 AM
gniibe added a comment to T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing.

I pushed more changes to include modules in RFC 5911 and RFC 5912.

May 31 2019, 5:50 AM · libksba, Feature Request
gniibe committed rK5cabb4413019: Fix cms.asn. (authored by gniibe).
Fix cms.asn.
May 31 2019, 5:48 AM
gniibe committed rK009af0c220c6: Fix for our use (non-support of Information Object Class). (authored by gniibe).
Fix for our use (non-support of Information Object Class).
May 31 2019, 5:48 AM
gniibe committed rKd54089145e31: Add Algorithm Identifiers and Algorithm Identifier Parameter Types. (authored by gniibe).
Add Algorithm Identifiers and Algorithm Identifier Parameter Types.
May 31 2019, 5:48 AM
gniibe committed rK98438cc3d378: Add dh-public-number OID from RFC 5912. (authored by gniibe).
Add dh-public-number OID from RFC 5912.
May 31 2019, 5:48 AM
gniibe added a comment to T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing.

Comparing old cms.asn and new cms.asn, now I understand how RFC 3370 matters. I added those things back from RFC 5911 (which cites RFC 3370) which comes with BSD license for code.

May 31 2019, 4:52 AM · libksba, Feature Request

May 30 2019

gniibe added a comment to T4487: libksba: please refresh ASN.1 components from more recent RFCs with BSD licensing.

I did some work (since Debian is important for us).
Please have a look at my topic branch: gniibe/fix-4487
or:
https://dev.gnupg.org/source/libksba/history/gniibe%252Ffix-4487/
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=shortlog;h=refs/heads/gniibe/fix-4487

May 30 2019, 10:18 AM · libksba, Feature Request
gniibe committed rKfe4a484dffa3: Add more ASN.1 definitions. (authored by gniibe).
Add more ASN.1 definitions.
May 30 2019, 10:08 AM
gniibe committed rKce31ebda6f63: Add from g10 code modification. (authored by gniibe).
Add from g10 code modification.
May 30 2019, 10:08 AM
gniibe committed rK3b8a01fcaa04: Add from RFC 5755. (authored by gniibe).
Add from RFC 5755.
May 30 2019, 10:08 AM
gniibe committed rK144649977a11: Add more. (authored by gniibe).
Add more.
May 30 2019, 10:08 AM
gniibe committed rK016f93f4efc6: Use CryptographicMessageSyntax2004. (authored by gniibe).
Use CryptographicMessageSyntax2004.
May 30 2019, 10:08 AM
gniibe committed rK3fc42428f1b7: Merge two modules into one. (authored by gniibe).
Merge two modules into one.
May 30 2019, 10:08 AM
gniibe committed rKccf8d9f06b36: Get RFC 5652. (authored by gniibe).
Get RFC 5652.
May 30 2019, 10:08 AM
gniibe committed rK2372968a7753: Extract code from RFC 5652 to be new src/cms.asn. (authored by gniibe).
Extract code from RFC 5652 to be new src/cms.asn.
May 30 2019, 10:08 AM
gniibe committed rK47545294f08a: Remove src/cms.asn to prepare new one. (authored by gniibe).
Remove src/cms.asn to prepare new one.
May 30 2019, 10:08 AM
gniibe claimed T4546: make check error on gnupg-2.2.15 and gpgme-1.13.0.

For GnuPG, the error is: you don't have run-able libntbtls.so in your environment (because of your wrong configuration, perhaps) but you have it to link.
For GPGME, the error is: your linked libgpg-error.so.0 and the one which runs are different (because of your wrong configuration, perhaps).

May 30 2019, 4:25 AM · Not A Bug, gnupg, gpgme, Bug Report

May 29 2019

gniibe committed rG6790eaf95292: agent: Add A-flag for KEYINFO output for card. (authored by gniibe).
agent: Add A-flag for KEYINFO output for card.
May 29 2019, 9:24 AM
gniibe claimed T3465: --pinentry-mode loopback with --delete-secret-keys.

I wrote a patch in a topic branch: rG108c22c9c50a: g10,agent: Support CONFIRM for --delete-key.
I think that gpg-agent side,

  • agent/call-pinentry.c: This part is good
  • agent/command.c: I wonder if use of status for passing the information of prompt is good or not

Perhaps, we need an improvement in

  • g10/call-agent.c: how to ask user, by cpr_* function with no keyword is good?
  • Currently, only using DESC
  • Only applying to DELETE_KEY command
  • Can be applied also to:
    • PKSIGN
    • PKDECRYPT
May 29 2019, 5:30 AM · gnupg, Bug Report
gniibe changed the status of T4539: libgpg-error on Windows: strerror_s can be used instead of strerror_r from Open to Testing.

Fix pushed.

May 29 2019, 4:19 AM · gpgrt, Feature Request
gniibe committed rEa9052f7b7fe5: po: Update Japanese translation. (authored by gniibe).
po: Update Japanese translation.
May 29 2019, 4:19 AM
gniibe committed rEcd49ee71887c: Detect to use strerror_s. (authored by gniibe).
Detect to use strerror_s.
May 29 2019, 4:15 AM
gniibe claimed T4539: libgpg-error on Windows: strerror_s can be used instead of strerror_r.

I think that detecting strerror_s by configure is better, because it's a new feature on Windows.

May 29 2019, 3:54 AM · gpgrt, Feature Request
gniibe closed T4461: Memory leak in read_block as Resolved.
May 29 2019, 3:08 AM · Bug Report
gniibe closed T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer..." as Resolved.
May 29 2019, 3:06 AM · gnupg
gniibe closed T4504: Asan findings in iconv configure test causing config failure as Resolved.
May 29 2019, 3:05 AM · gpgrt, gnupg

May 28 2019

gniibe committed rG108c22c9c50a: g10,agent: Support CONFIRM for --delete-key. (authored by gniibe).
g10,agent: Support CONFIRM for --delete-key.
May 28 2019, 9:17 AM
gniibe committed rG19415a265253: agent: Remove unused agent_show_message. (authored by gniibe).
agent: Remove unused agent_show_message.
May 28 2019, 4:37 AM

May 27 2019

gniibe closed T3343: show-unusable-subkeys claims "expired: never" when primary key is expired as Resolved.
May 27 2019, 10:11 AM · gnupg, Bug Report
gniibe closed T4397: GPG Error - version >= 1.25... no as Invalid.

I think that when using GNU autoconf's configure, you should have the ${prefix}/bin in your PATH.

May 27 2019, 4:44 AM · gpgrt, Bug Report

May 23 2019

gniibe closed T4326: Reloading gpg-agent with disable-scdaemon set does not stop scdaemon. as Resolved.

Simply sending "KILLSCD" is implemented.

May 23 2019, 3:19 AM · Bug Report, scd, gpgagent
gniibe committed rG7158a5696dc8: agent: Stop scdaemon after reload when disable_scdaemon. (authored by gniibe).
agent: Stop scdaemon after reload when disable_scdaemon.
May 23 2019, 3:18 AM
gniibe committed rG265e6d670682: g10: Copy expiredate from primary key when marked expired. (authored by gniibe).
g10: Copy expiredate from primary key when marked expired.
May 23 2019, 2:42 AM
gniibe changed the status of T3343: show-unusable-subkeys claims "expired: never" when primary key is expired from Open to Testing.

There is also a confusing case: a subkey expiration date is set, but the associated primary key is expired.
Pushing a fix in master.

May 23 2019, 2:41 AM · gnupg, Bug Report
gniibe closed T3283: Set 'mym4_revision' to 0 if not a git repo as Resolved.
May 23 2019, 1:59 AM · libgcrypt, Bug Report

May 21 2019

gniibe closed T4454: scdaemon is not working in cygwin (64bit) as Resolved.

In master, I pushed a change, closing.

May 21 2019, 9:40 AM · patch, scd, Cygwin, Bug Report
gniibe committed rG1eb93d9229c5: scd: Fix for SCARD_IO_REQUEST structure. (authored by gniibe).
scd: Fix for SCARD_IO_REQUEST structure.
May 21 2019, 9:39 AM
gniibe claimed T4454: scdaemon is not working in cygwin (64bit).

For future, it would make sense applying your patch, but I wonder if it works on macOS.
Let me check.

May 21 2019, 9:11 AM · patch, scd, Cygwin, Bug Report
gniibe committed rG479f7bf31ce4: agent: For SSH key, don't put NUL-byte at the end. (authored by gniibe).
agent: For SSH key, don't put NUL-byte at the end.
May 21 2019, 8:54 AM
gniibe claimed T4502: keys added via gpg-agent's ssh-agent interface are stored in private-keys-v1.d/ with a trailing null byte.

I located the bug in agent/command-ssh.c.
Our practice is two calls of gcry_sexp_sprint; One to determine the length including last NUL byte, and another to actually fills the buffer.
The first call return +1 for NUL byte.
The second call fills NUL at the end, but returns +0 length (length sans last NUL).

May 21 2019, 8:48 AM · gpgagent, ssh

May 20 2019

gniibe added a comment to T4301: Handling multiple subkeys on two SmartCards.

When having a backup media, I'd recommend completely different one (for example, on paper using paperkey to be stored in a locker in basement), which requires different method for recovering. Brains may be easily confused when same private key material exists in multiple similar devices.

May 20 2019, 2:12 AM · Restricted Project, gnupg, scd, Bug Report

May 17 2019

gniibe lowered the priority of T4301: Handling multiple subkeys on two SmartCards from Normal to Low.

@blades: This feature will be available in GnuPG 2.3, which is planed to be released this year.
For Debian, Buster will come with GnuPG 2.2.12. After release of GnuPG 2.3, backport might be available (like GnuPG 2.2.x is available as backport for Stretch).

May 17 2019, 2:00 AM · Restricted Project, gnupg, scd, Bug Report

May 16 2019

gniibe merged task T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys) into T4301: Handling multiple subkeys on two SmartCards.
May 16 2019, 9:26 AM · gnupg, Feature Request
gniibe merged T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys) into T4301: Handling multiple subkeys on two SmartCards.
May 16 2019, 9:26 AM · Restricted Project, gnupg, scd, Bug Report
gniibe changed the status of T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys) from Open to Testing.

Feature supported in master.

May 16 2019, 9:26 AM · gnupg, Feature Request
gniibe changed the status of T2898: Option to ignore card serial number (to be able to use backup tokens containing same subkeys), a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), from Open to Testing.
May 16 2019, 9:26 AM · Restricted Project, gnupg, Feature Request
gniibe edited projects for T4301: Handling multiple subkeys on two SmartCards, added: scd, gnupg; removed Info Needed.
May 16 2019, 9:22 AM · Restricted Project, gnupg, scd, Bug Report
gniibe abandoned D451: agent: Fix S2K calibration..
May 16 2019, 9:20 AM
gniibe commandeered D451: agent: Fix S2K calibration..

The change is adopted. To close this patch, I take over.

May 16 2019, 9:19 AM
gniibe committed rGdc35b25195e5: agent,scd: Scan and load all public keys for availability. (authored by gniibe).
agent,scd: Scan and load all public keys for availability.
May 16 2019, 3:11 AM
gniibe changed the status of T4301: Handling multiple subkeys on two SmartCards from Open to Testing.
May 16 2019, 1:58 AM · Restricted Project, gnupg, scd, Bug Report

May 15 2019

gniibe added a comment to T4301: Handling multiple subkeys on two SmartCards.

It's complicated to have a good solution, because we need to change assumption (serial number identifies keys).

May 15 2019, 10:20 AM · Restricted Project, gnupg, scd, Bug Report
gniibe committed rG1091f22511e1: agent: Support scdaemon operation using KEYGRIP. (authored by gniibe).
agent: Support scdaemon operation using KEYGRIP.
May 15 2019, 10:15 AM
gniibe committed rG01730529f208: scd: Don't put newline at the end of status. (authored by gniibe).
scd: Don't put newline at the end of status.
May 15 2019, 10:15 AM
gniibe committed rG62c29af63203: scd: Fix return value for KEYINFO command. (authored by gniibe).
scd: Fix return value for KEYINFO command.
May 15 2019, 8:46 AM
gniibe committed rPTH575573b5b63e: Limit exposing rwlock API on GNU/Linux. (authored by gniibe).
Limit exposing rwlock API on GNU/Linux.
May 15 2019, 7:20 AM
gniibe added a comment to T4506: OpenPGP Key Certification Forgeries.

Sorry, I have read the short paper wrongly. I misunderstood as if a forged key could be made using existing key.

May 15 2019, 4:45 AM · gnupg (gpg22)
gniibe changed the status of T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc from Open to Testing.

While I think that building with GCC 4 on Solaris 11/12 is minor issue, requirement of newer POSIX API (on GNU/Linux) would be a bit serious issue.
I pushed my change to fix this.

May 15 2019, 3:12 AM · npth, Bug Report

May 14 2019

gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

While original npth-1.6 can be compiled with newer gcc (>= 5), we'd say please use CFLAGS+=-std=gnu99 with older gcc, as workaround.

May 14 2019, 8:08 AM · npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

I figured out:

  • Removing -D_POSIX_C_SOURCE=200112L works both of gcc 4.9 and gcc 5.5 on Solaris 11.3 (even with -std=c99).
  • Then, adding -D_XOPEN_SOURCE=500, gcc 4.9 works, but gcc 5.5 failed by another error (Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications)
    • I confirmed gcc 5.5 defaults to -std=gnu99
May 14 2019, 8:05 AM · npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

Thanks for your offer. I have an account for GCC Compiler Farm. I'm trying with gcc211 machine. will back soon.

May 14 2019, 7:39 AM · npth, Bug Report
gniibe added a comment to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

It looks like somewhat complicated more. It seems that specifying _POSIX_C_SOURCE=200112L is not good on Solaris with old GCC. Perhaps, it would have no problem with newer gcc (or -std=gnu99 option).

May 14 2019, 7:30 AM · npth, Bug Report
gniibe claimed T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc.

IIUC, -std=c99 won't solve this issue. It is Solaris specific C99 issue.

May 14 2019, 5:13 AM · npth, Bug Report
gniibe committed rEbdb9561a366f: tests: Fix a memory leak. (authored by gniibe).
tests: Fix a memory leak.
May 14 2019, 4:46 AM
gniibe claimed T4498: Asan findings in tests/t-logging.c.

Thanks for your report.
Let me handle issue by issue.

May 14 2019, 4:42 AM · gpgrt
gniibe changed the status of T4494: UBsan finding "armor.c:1159:11: runtime error: member access within null pointer..." from Open to Testing.

Thanks for your report.

May 14 2019, 4:27 AM · gnupg
gniibe committed rG802a2aa300ba: g10: Fix possible null dereference. (authored by gniibe).
g10: Fix possible null dereference.
May 14 2019, 4:26 AM
gniibe committed rG5b22d2c40089: g10: Fix possible null dereference. (authored by gniibe).
g10: Fix possible null dereference.
May 14 2019, 4:25 AM
gniibe committed rGcf73c82e95f9: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
May 14 2019, 1:58 AM
gniibe added a comment to T4506: OpenPGP Key Certification Forgeries.

In my opinion, it's good if we can offer:

May 14 2019, 1:44 AM · gnupg (gpg22)

May 13 2019

gniibe committed rP42c32e08d5a4: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
May 13 2019, 10:51 AM
gniibe committed rGPA1cb82dcfcea4: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
May 13 2019, 10:13 AM
gniibe committed rE07b1b3be1798: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
May 13 2019, 9:32 AM
gniibe claimed T4397: GPG Error - version >= 1.25... no.

It is because you don't have ${prefix}/bin in your PATH.
Please build having /var/tmp/bin in your PATH.

May 13 2019, 8:35 AM · gpgrt, Bug Report
gniibe added a project to T4504: Asan findings in iconv configure test causing config failure: gpgrt.
May 13 2019, 8:17 AM · gpgrt, gnupg
gniibe committed rG1cd2aca03b88: build: Update m4/iconv.m4. (authored by gniibe).
build: Update m4/iconv.m4.
May 13 2019, 8:17 AM