Page MenuHome GnuPG
Feed Advanced Search

Nov 30 2021

pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

I ran DYLD_PRINT_LIBRARIES=1 DYLD_PRINT_LIBRARIES_POST_LAUNCH=1 DYLD_PRINT_RPATHS=1 pinentry-curses and see libncurses.5.4 (full output below).

Nov 30 2021, 8:45 AM · MacOS, pinentry, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

Is there some other command I should run to check which curses it's using? I see there's a --debug flag but I'm not sure how to use it.

Nov 30 2021, 3:57 AM · MacOS, pinentry, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

I think that either of following might be true:
(1) macOS has older ncurses (which doesn't support ioctl well, to get columns/lines info) in system
(2) macOS has BSD curses (with no suport for ioctl)

Nov 30 2021, 3:53 AM · MacOS, pinentry, Bug Report
pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

I installed it with brew and didn't provide any special options. This is one of the new M1 macs though, so perhaps there is some platform check deep in the install that is getting confused?

Nov 30 2021, 3:40 AM · MacOS, pinentry, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

Thank you for the information. So, you don't have these environment variables set.

Nov 30 2021, 2:36 AM · MacOS, pinentry, Bug Report
pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

printenv COLUMNS LINES shows no output, however if I echo $COLUMNS $LINES I see 160 48 both before and after the password prompt.

Nov 30 2021, 2:29 AM · MacOS, pinentry, Bug Report
gniibe added a project to T5693: GPG sign in corrupts larger terminal sizing: MacOS.

Curses application (of pinentry) get information of screen size by:

  • environment variables (COLUMNS, LINES)
  • operating system using TIOCGSIZE or TIOCGWINSZ ioctl
  • tinfo data base
Nov 30 2021, 2:21 AM · MacOS, pinentry, Bug Report

Nov 23 2021

werner closed T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory as Resolved.
Nov 23 2021, 9:07 AM · gnupg (gpg23), MacOS, Bug Report

Nov 15 2021

wrobelda added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Also, and I should maybe have opened with it, the issues vcpkg has with your build system are currently tracked here, while my effort to build gpg-error natively (i.e. without relying on ShiftMediaProject fork) on all platforms is here.

Nov 15 2021, 11:27 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
wrobelda added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Let me clarify the use case of gpg-error.m4.

gpg-error.m4 is for GnuPG and its friends, where we cannot assume availability of pkg-config. Its capability is limited, and we don't pursue 100% compatibility of pkg-config.

Nov 15 2021, 11:16 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

Let me clarify the use case of gpg-error.m4.

Nov 15 2021, 2:30 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
wrobelda added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

If it is new, it may be the change of this commit rC8e3cd4c4677c: build: Update gpg-error.m4.

Nov 15 2021, 1:22 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Nov 10 2021

gniibe added a project to T5610: macOS 11 or newer support: Update libtool: gpgme.

Also applied to gpgme.

Nov 10 2021, 3:07 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Since there is no problem with libgpg-error 1.43, I applied it to other libraries: npth, libassuan, libksba, and ntbtls.

Nov 10 2021, 3:04 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Nov 3 2021

werner closed T5610: macOS 11 or newer support: Update libtool as Resolved.
Nov 3 2021, 3:16 PM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Oct 29 2021

thesamesam added a watcher for MacOS: thesamesam.
Oct 29 2021, 8:04 PM

Oct 27 2021

werner changed the status of T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory from Open to Testing.

I think we can close this bug. The warning will now only be printed as part of the the regression test and after all it is just a warning.

Oct 27 2021, 1:02 PM · gnupg (gpg23), MacOS, Bug Report
werner added a subtask for T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory: T5671: (MYPROC_SELF_EXE): Support illumos and Solaris.
Oct 27 2021, 12:58 PM · gnupg (gpg23), MacOS, Bug Report

Oct 25 2021

smillernl added a comment to T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory.

It seems like this warning does break some usages of gnupg on macOS.
We found one when packaging this in Homebrew: https://github.com/tadfisher/pass-otp/issues/147

Oct 25 2021, 9:37 AM · gnupg (gpg23), MacOS, Bug Report

Oct 19 2021

gahr added a comment to T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory.

Thanks for the clarification. So it's just a matter of not emitting the warning I guess?

Oct 19 2021, 12:47 PM · gnupg (gpg23), MacOS, Bug Report
ikloecker added a comment to T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory.

gnupg_bindir() uses unix_rootdir() falling back to the builtin configure time path if unix_rootdir() returns NULL. So, there is no difference.

Oct 19 2021, 12:26 PM · gnupg (gpg23), MacOS, Bug Report
gahr added a comment to T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory.

I second this. This is problematic on (Free)BSD too, where /proc is usually optional and might not be mounted at all. I concur that this should be silenced if not running in debug mode.

Oct 19 2021, 9:56 AM · gnupg (gpg23), MacOS, Bug Report

Oct 17 2021

werner added a comment to T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory.

Urgs, I already implemented this:

Oct 17 2021, 6:46 PM · gnupg (gpg23), MacOS, Bug Report
werner added a comment to T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory.

On macOS _NSGetExecutablePath could be used, but iiuc this requires linking against dyld. For other OSes we would also need more code. I doubt that this makes a lot of sense these days; but we should come up with a solution, even if that means we need an envvar to specify the location of that open gpgconf.ctl file.

Oct 17 2021, 6:41 PM · gnupg (gpg23), MacOS, Bug Report

Oct 13 2021

ikloecker added a comment to T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory.

No, the error is harmless. I guess it shouldn't be printed (except when debugging).

Oct 13 2021, 5:18 PM · gnupg (gpg23), MacOS, Bug Report
werner added projects to T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory: MacOS, gnupg (gpg23).

We now require a way to get the actual image of a process. For macOS the BSD method is used and we obviously need to find another way for macOS.

Oct 13 2021, 5:03 PM · gnupg (gpg23), MacOS, Bug Report

Oct 8 2021

werner closed T5633: gpg key generation failure as Wontfix.
Oct 8 2021, 3:23 PM · MacOS, Bug Report

Oct 4 2021

p90089 added a comment to T5633: gpg key generation failure .

Currently, I am using --lock-never config to avoid generating lock file as a workaround.

Oct 4 2021, 4:41 PM · MacOS, Bug Report

Oct 3 2021

werner added a project to T5633: gpg key generation failure : MacOS.

Sorry, a hostname with slash is simply not allowed by IETF standards. Given that the hostname is part of temporary file names, you will run into an error. Yes, we could remap the slash in the mktemp function but there are lot of other plzces where the hostname is used and certain properties are expected.

Oct 3 2021, 12:32 PM · MacOS, Bug Report

Sep 27 2021

aconchillo added a comment to T5610: macOS 11 or newer support: Update libtool.

These are great news. Thank you!

Sep 27 2021, 6:35 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Pushed the change to libgpg-error and libgcrypt (1.9 and master).
Let us see if there are any problem(s) for that, I will apply it to other libraries when it will be found no problem.

Sep 27 2021, 4:16 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe renamed T5610: macOS 11 or newer support: Update libtool from Update libtool to macOS 11 or newer support: Update libtool.
Sep 27 2021, 3:31 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Thank you for the information.
For the record, I put the link to the email submitted:
https://lists.gnu.org/archive/html/libtool-patches/2020-06/msg00001.html

Sep 27 2021, 3:30 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Sep 22 2021

aconchillo added a comment to T5610: macOS 11 or newer support: Update libtool.

Oh, you are right, it's not upstream. It's actually applied to Homebrew (https://brew.sh/) libtool formula which is where I originally got libtool.m4, see:

Sep 22 2021, 9:06 PM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

I see your point. I'd like to locate/identify where the change comes from.
I think that what you refer by "new libtool.m4" is actually macOS local change (I mean, not from libtool upstream, AFAIK).
Could you please point out the source of the change?

Sep 22 2021, 2:01 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Sep 21 2021

aconchillo added a comment to T5610: macOS 11 or newer support: Update libtool.

That would work, however we might hit this issue with a new macOS release. Would it make more sense to update to what the new libtool.m4 is doing? Linker flags are the same, it only changes the way they detect macOS versions:

Sep 21 2021, 8:33 PM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
werner added a comment to T5610: macOS 11 or newer support: Update libtool.

That does indeed not look like something which could introduce a regression.

Sep 21 2021, 11:43 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

I misunderstood as if we need to update libtool from upstream.

Sep 21 2021, 9:16 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
werner triaged T5610: macOS 11 or newer support: Update libtool as Low priority.

macOS has low priority for us and I do not want to risk any regression.

Sep 21 2021, 8:42 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Sep 2 2021

gniibe closed T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7 as Resolved.
Sep 2 2021, 8:29 AM · MacOS, yubikey, Bug Report

Sep 1 2021

gniibe closed T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" as Resolved.
Sep 1 2021, 8:07 AM · MacOS, libgcrypt, Bug Report

Aug 30 2021

gniibe closed T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection as Resolved.
Aug 30 2021, 7:05 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt

Aug 25 2021

gniibe closed T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1 as Resolved.
Aug 25 2021, 3:59 AM · arm, MacOS, gnupg, Bug Report
gniibe closed T5268: macOS getentropy as Resolved.

Closing, as downstream ticket has been closed.

Aug 25 2021, 3:51 AM · libgcrypt, MacOS
gniibe set External Link to https://trac.macports.org/ticket/62431 on T5268: macOS getentropy.
Aug 25 2021, 3:49 AM · libgcrypt, MacOS
gniibe closed T5369: GnuPG build on Apple with Clang as Resolved.

Fixed in libgcrypt 1.9.4.

Aug 25 2021, 3:40 AM · libgcrypt, MacOS, Bug Report
gniibe changed the status of T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7 from Open to Testing.

It must be fixed in 2.3.2. If not, please report.

Aug 25 2021, 3:27 AM · MacOS, yubikey, Bug Report

Aug 13 2021

werner changed the edit policy for MacOS.
Aug 13 2021, 11:08 PM

Jul 28 2021

bernhard added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

dlopen'ing of gpgme is NOT SUPPORTED. It is in general not a good idea to do this on standard Unix systems.

Jul 28 2021, 11:08 AM · gpgme, MacOS, Bug Report
werner added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

To extend on this: dlopen'ing of gpgme is NOT SUPPORTED. It is in general not a good idea to do this on standard Unix systems. On Windows we could make it work because DLLs on that platform are well designed and not a hack like the Unix shared objects.

Jul 28 2021, 9:49 AM · gpgme, MacOS, Bug Report

Jul 27 2021

aheinecke claimed T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

We really want thunderbird users that interact with GPGME to have a great and stable user experience, but the problem with dynamic loading and self compiled versions is that we cannot really know the build settings and enviornment and it is very time consuming to reproduce that. GPGME does some very low level things for optimized IPC that can depend on build options etc. This is why I am mostly in favor that thunderbird ships a defined version that we can debug and see the settings.

Jul 27 2021, 4:47 PM · gpgme, MacOS, Bug Report
bernhard added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

Reading the mozilla entry more carefully, there still seems to be an issue.

Jul 27 2021, 10:58 AM · gpgme, MacOS, Bug Report
bernhard added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

https://blog.gerv.net/2012/01/mozilla-projects-and-gpled-code/

@kaie, thanks for the pointer!

Jul 27 2021, 10:27 AM · gpgme, MacOS, Bug Report

Jul 26 2021

kaie added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

BTW @kaie

Thunderbird cannot use anything requiring GPL in its default configuration, because Thunderbird wants to distribute a single MPL licensed package that includes all components that are required for OpenPGP.

Any pointer why, they have made that choice, though? A bundle of MPL and GNU GPL components is fully allowed by the licenses as far as I know.

Jul 26 2021, 11:59 PM · gpgme, MacOS, Bug Report

Jul 24 2021

bernhard added a comment to T5250: macOS: gpgconf SIGSEGV when run via gpgme from the GUI application.

Using GPGME is probably the best way, even if gpgme-json might also work for some operations.

Jul 24 2021, 4:52 PM · gpgme, MacOS, Bug Report

Jun 24 2021

werner lowered the priority of T3958: GPGME: Qt Bindings and MacOS from Normal to Low.
Jun 24 2021, 6:31 PM · MacOS, qt, gpgme

Jun 7 2021

gniibe added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

In your log, it says:

usb_claim_interface failed: -3
Jun 7 2021, 4:46 AM · gnupg (gpg23), yubikey
gniibe added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

Sorry, I was wrong.

Jun 7 2021, 4:43 AM · gnupg (gpg23), yubikey

Jun 4 2021

werner added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

I need to see how we can pass the check permission notice up to gpg. This is a too common problem and thus serves some special treatment.

Jun 4 2021, 12:22 PM · gnupg (gpg23), yubikey
Suertzz added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

GPG Version :

Jun 4 2021, 11:58 AM · gnupg (gpg23), yubikey
Suertzz added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

I see your situation

Could you please help me to analyze what's going on?
Please add following lines to your scdaemon.conf to see CCID driver's debug output:

debug-ccid-driver
verbose
verbose
verbose

And share the debug output.

Jun 4 2021, 2:08 AM · gnupg (gpg23), yubikey
gniibe added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

Ah, I think that your problem was fixed in rG53bdc6288f9b: scd: Recover the partial match for PORTSTR for PC/SC. (to be 2.3.2).

Jun 4 2021, 2:02 AM · gnupg (gpg23), yubikey
gniibe triaged T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1) as High priority.
Jun 4 2021, 1:58 AM · gnupg (gpg23), yubikey
gniibe claimed T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).
Jun 4 2021, 1:57 AM · gnupg (gpg23), yubikey
gniibe reopened T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1) as "Open".

I see your situation

Jun 4 2021, 1:57 AM · gnupg (gpg23), yubikey
Suertzz added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

If possible, please let us know how you configure the permission to access CCID device with 2.2 (and with 2.3)?

Jun 4 2021, 1:40 AM · gnupg (gpg23), yubikey
gniibe added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

If possible, please let us know how you configure the permission to access CCID device with 2.2 (and with 2.3)?

Jun 4 2021, 1:32 AM · gnupg (gpg23), yubikey

Jun 3 2021

Suertzz added a comment to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.

Please excuse my late reply. I was busy with other things over the last few weeks.

Yes, putting disable-ccid into ~/.gnupg/scdaemon.conf works for me with GnuPG 2.3.1 under macOS Catalina (10.15).

I still don't understand what the problem is/was, so I cannot judge whether it's better to recommend this manual configuration for Mac users or to disable CCID by default on macOS.

Jun 3 2021, 11:20 PM · MacOS, yubikey, Bug Report
KasparEtter added a comment to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.

Please excuse my late reply. I was busy with other things over the last few weeks.

Jun 3 2021, 9:58 AM · MacOS, yubikey, Bug Report

Jun 2 2021

werner moved T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" from For 1.9 to Backlog on the libgcrypt board.
Jun 2 2021, 12:57 PM · MacOS, libgcrypt, Bug Report
werner moved T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" from For 1.8 to For 1.9 on the libgcrypt board.
Jun 2 2021, 12:56 PM · MacOS, libgcrypt, Bug Report
werner moved T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" from Backlog to For 1.8 on the libgcrypt board.
Jun 2 2021, 12:56 PM · MacOS, libgcrypt, Bug Report
gniibe added a comment to T5369: GnuPG build on Apple with Clang.

jitterentropy is also used in Linux kernel, and some people use clang to build it these days. So, I checked the kernel's one. It is simply compiled -O0 by Makefile, and there's no pragma line now (as of v5.13).

Jun 2 2021, 3:16 AM · libgcrypt, MacOS, Bug Report

Jun 1 2021

werner reopened T5369: GnuPG build on Apple with Clang as "Open".

I don't think that it is a good idea to silence this warning. The pragma is esssential for proper random numbers and if clang hijacks a GCC's name space but implements something different it is better to have a warning than to fall into the pit full of dragons.

Jun 1 2021, 8:40 AM · libgcrypt, MacOS, Bug Report
Alan added a comment to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.

So, has this issue been solved?

Jun 1 2021, 8:40 AM · MacOS, yubikey, Bug Report
gniibe closed T5369: GnuPG build on Apple with Clang as Resolved.

That warning could be silenced by surrounding pragma with #ifdef __OPTIMIZE__ (with should be supported by GCC and Clang).

Jun 1 2021, 4:09 AM · libgcrypt, MacOS, Bug Report

May 28 2021

gniibe triaged T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations as High priority.
May 28 2021, 7:18 AM · gnupg24, yubikey, Bug Report
gniibe claimed T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

Thanks. I push the fix of yours.

May 28 2021, 7:17 AM · gnupg24, yubikey, Bug Report
gniibe merged T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1) into T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.
May 28 2021, 3:23 AM · gnupg24, yubikey, Bug Report
gniibe merged task T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1) into T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.
May 28 2021, 3:23 AM · scd, gnupg (gpg23), MacOS, Bug Report

May 27 2021

gniibe changed the status of T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" from Open to Testing.
May 27 2021, 6:41 AM · MacOS, libgcrypt, Bug Report
gniibe added a comment to T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L".

Done for all (libgcrypt (master, 1.9, and 1.8), libassuan, ntbtls, libksba, gpgme, gnupg (2.2 and 2.3).

May 27 2021, 6:40 AM · MacOS, libgcrypt, Bug Report

May 26 2021

werner added projects to T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1): MacOS, gnupg (gpg23), scd.
May 26 2021, 5:48 PM · scd, gnupg (gpg23), MacOS, Bug Report

May 25 2021

lbogdan added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

@werner @ikloecker Any more thoughts / updates on this?

May 25 2021, 11:40 AM · gnupg24, yubikey, Bug Report

May 21 2021

gniibe claimed T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L".

Thank you for your report.

May 21 2021, 7:04 AM · MacOS, libgcrypt, Bug Report

May 19 2021

werner added a comment to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.

Please read also the report T5442 which is basically the same.

May 19 2021, 9:25 PM · MacOS, yubikey, Bug Report
werner added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

Thanks for the well written report. We had another already, and thus I merged it into T5415.

May 19 2021, 9:24 PM · gnupg (gpg23), yubikey
werner merged T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1) into T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.
May 19 2021, 9:23 PM · MacOS, yubikey, Bug Report
werner merged task T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1) into T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.
May 19 2021, 9:23 PM · gnupg (gpg23), yubikey
Suertzz created T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).
May 19 2021, 9:04 PM · gnupg (gpg23), yubikey

May 18 2021

werner added a project to T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L": MacOS.
May 18 2021, 8:23 AM · MacOS, libgcrypt, Bug Report

May 17 2021

znull added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

It's not clear whether you are talking about PIN caching related to signing operations or decryption operations.

May 17 2021, 10:27 PM · gnupg24, yubikey, Bug Report
lbogdan added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

Just got around to testing this on Linux, and I can confirm the same behavior: decryption PIN caching works on 2.2 and doesn't work on 2.3.

May 17 2021, 1:51 PM · gnupg24, yubikey, Bug Report
lbogdan renamed T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations from gpg-agent 2.3.1: PIN caching not working to gpg-agent 2.3.1: PIN caching not working for decrypt operations.
May 17 2021, 11:21 AM · gnupg24, yubikey, Bug Report
lbogdan added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

@znull You can also fix the detection issue by building with ./configure --disable-ccid-driver, in which case you won't need the disable-ccid setting anymore.

May 17 2021, 10:10 AM · gnupg24, yubikey, Bug Report
lbogdan added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

@ikloecker Sorry for not being clear, I was not aware different operations have different behaviors in regard to entering / caching the PIN.

May 17 2021, 9:59 AM · gnupg24, yubikey, Bug Report
ikloecker added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

It's not clear whether you are talking about PIN caching related to signing operations or decryption operations.

May 17 2021, 9:22 AM · gnupg24, yubikey, Bug Report

May 15 2021

znull added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

I just wanted to chime in that I've had exactly the same experience as @lbogdan: gnupg 2.3 stopped recognizing my yubikey entirely on MacOS until the T5415 workaround (disable-ccid). After that, pin caching was broken until I applied his patch to call-scd.c:548, which makes it work as before. Without these two changes the experience with gnupg 2.3 is degraded relative to 2.2.

May 15 2021, 8:17 PM · gnupg24, yubikey, Bug Report

May 14 2021

lbogdan added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

So I did a bit more reading on smartcard PIN caching, and took a better look at the debug logging of gnupg 2.2, and learned that, indeed, the PIN is cached by the card and not by any one gnupg component.

May 14 2021, 6:44 PM · gnupg24, yubikey, Bug Report

May 12 2021

lbogdan added a comment to T5436: gpg-agent 2.3.1: PIN caching not working for decrypt operations.

Yes, I already linked to T5415, but that breaks YubiKey completely, and I fixed it with disable-ccid.

May 12 2021, 6:08 PM · gnupg24, yubikey, Bug Report