Page MenuHome GnuPG

libksbaProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Recent Activity

Mon, May 16

gniibe removed a project from T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared: Testing.
Mon, May 16, 8:23 AM · toolchain, libksba, Bug Report

Fri, May 13

werner closed T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared as Resolved.
Fri, May 13, 3:48 PM · toolchain, libksba, Bug Report

Mar 25 2022

gniibe added a project to T5892: t-cms-parser test program in libksba-1.6.0 needs to open files in binary mode for MS-Windows: Testing.
Mar 25 2022, 6:17 AM · Testing, libksba, Bug Report

Mar 22 2022

gniibe triaged T5892: t-cms-parser test program in libksba-1.6.0 needs to open files in binary mode for MS-Windows as Normal priority.
Mar 22 2022, 3:22 AM · Testing, libksba, Bug Report
gniibe changed the status of T5892: t-cms-parser test program in libksba-1.6.0 needs to open files in binary mode for MS-Windows from Open to Testing.

Thank you. Confirmed and applied.

Mar 22 2022, 3:21 AM · Testing, libksba, Bug Report

Dec 8 2021

gniibe added a project to T5579: libksba parallel build error (windows): Testing.
Dec 8 2021, 9:07 AM · Testing, libksba, Bug Report

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 13 2021

gniibe added a project to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared: Testing.
Oct 13 2021, 10:03 AM · toolchain, libksba, Bug Report

Oct 12 2021

werner added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Bison used to be the de-facto standard yacc ;-)

Oct 12 2021, 2:33 PM · toolchain, libksba, Bug Report
gniibe claimed T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

I think that a simple way is defining a table (string -> token) by ourselves in yylex, not enabling %token-table.
(Then, we don't need to depend on the feature of string with %token, which is not supported by POSIX yacc.)

Oct 12 2021, 9:50 AM · toolchain, libksba, Bug Report

Oct 11 2021

werner raised the priority of T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared from Normal to High.

Thanks for your findings. I recall that I read this in the announcement and cursed about this new tendency in GNU to break long standing APIs.

Oct 11 2021, 5:49 PM · toolchain, libksba, Bug Report
adrianvovk added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Looks like yytoknum was removed from Bison in version 3.8: http://git.savannah.gnu.org/cgit/bison.git/commit/?id=1efe31185ff6b0bc22ff527098971bedf1ace5f4

Oct 11 2021, 8:50 AM · toolchain, libksba, 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

werner triaged T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared as Normal priority.
Sep 22 2021, 9:55 PM · toolchain, libksba, Bug Report
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
shoober420 updated the task description for T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.
Sep 22 2021, 9:01 PM · toolchain, libksba, Bug Report
shoober420 added a comment to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.

Sorry about that, I forgot to add GCC. I updated the original post with the needed information.

Sep 22 2021, 8:57 PM · toolchain, libksba, Bug Report
shoober420 updated the task description for T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared.
Sep 22 2021, 8:55 PM · toolchain, libksba, Bug Report
werner added a project to T5616: asn1-parse.y:861:20: error: 'yytoknum' undeclared: libksba.

Sorry, I don't know which software has version 12.0.0 and which git master this is. In case this is stock libksba, please tell us at least the last commit id. Note that we in general do not support arbitrary versions from the repos but only released versions .

Sep 22 2021, 2:09 PM · toolchain, libksba, Bug Report
gniibe triaged T5579: libksba parallel build error (windows) as Normal priority.
Sep 22 2021, 2:43 AM · Testing, libksba, Bug Report
gniibe changed the status of T5579: libksba parallel build error (windows) from Open to Testing.

Thank you.

Sep 22 2021, 2:43 AM · Testing, libksba, Bug Report
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
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

About merging our local changes.

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

We have our own changes for ltmain.sh and libtool.m4.

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

And update from automake 1.16:

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

It's better to update the set of files from libtool:

build-aux/ltmain.sh
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
Sep 21 2021, 6:58 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe added a comment to T5610: macOS 11 or newer support: Update libtool.

Our libtool was 2.4.2 + Debian patches + our local changes.
Debian patches are:
https://salsa.debian.org/mckinstry/libtool/-/blob/debian/master/debian/patches/link_all_deplibs.patch
https://salsa.debian.org/mckinstry/libtool/-/blob/debian/master/debian/patches/netbsdelf.patch

Sep 21 2021, 6:57 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt
gniibe created T5610: macOS 11 or newer support: Update libtool.
Sep 21 2021, 6:33 AM · gpgme, MacOS, ntbtls, npth, libksba, libassuan, libgcrypt, gpgrt

Sep 4 2021

ametzler1 added a comment to T5579: libksba parallel build error (windows).

This works for me:

Sep 4 2021, 2:11 PM · Testing, libksba, Bug Report

Aug 30 2021

ametzler1 created T5579: libksba parallel build error (windows).
Aug 30 2021, 7:14 PM · Testing, libksba, Bug Report

Aug 18 2021

werner closed T5559: libksba: possible NULL pointer dereference as Resolved.
Aug 18 2021, 6:22 PM · libksba, Bug Report
werner triaged T5559: libksba: possible NULL pointer dereference as Low priority.

I added some asserts. However I doubt that it can be hit by LibKSBA. I also fixed a real bug related to VALTYPE_BOOL - but that is also not used in Libksba.

Aug 18 2021, 3:07 PM · libksba, Bug Report
Jakuje created T5559: libksba: possible NULL pointer dereference.
Aug 18 2021, 11:35 AM · libksba, Bug Report

Jun 10 2021

werner closed T5479: Release LibKSBA 1.6.0 as Resolved.
Jun 10 2021, 2:59 PM · Release Info, libksba
werner updated the task description for T5379: Release Libksba 1.5.1.
Jun 10 2021, 2:13 PM · libksba, Release Info
werner triaged T5479: Release LibKSBA 1.6.0 as Normal priority.
Jun 10 2021, 2:11 PM · Release Info, libksba

May 26 2021

dkg added a comment to T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.

Another solution to make life easier for gpgme users encountering this stuff would be if gpgme itself knows which uid is a DN and which is not, it could populate the gpgme_user_id_t.address field with content of the 1.2.840.113549.1.9.1 DN component. (or maybe gpgme_user_id_t.email, or both? as a user of gpgme, i don't really understand the difference between these fields)

May 26 2021, 9:34 PM · libksba, S/MIME, Bug Report
dkg added a comment to T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.

fwiw, RFC 2253 is obsoleted by rfc 4514 -- which also doesn't have 1.2.840.113549.1.9.1 associated with "EMAIL", but does provide more detailed guidance for implementers of DN-to-string (and string-to-DN, to the extent that this is possible) conversions. Maybe the code should be updated to refer to the non-obsolete specification at least.

May 26 2021, 9:03 PM · libksba, S/MIME, Bug Report
werner closed T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component as Resolved.

We translate only those OIDs from RFC-2253 to have a stable set of names in the libksba interface. If you need anything else, you need to do this yourself. For example gpgsm does this in in parse_dn_part, gpa has the code in format-dn.

May 26 2021, 6:00 PM · libksba, S/MIME, Bug Report
dkg added a comment to T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.

I'm reporting this because the above message renders poorly in notmuch -- notmuch gets the user ID from gmime's g_mime_certificate_get_user_id, and gmime populates that field from the uids field of a gpgme_key_t object, and gpgme pulls uid information from gpgsm --with-colons.

May 26 2021, 3:39 AM · libksba, S/MIME, Bug Report
dkg added a comment to T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component.

Attached is a proposed patch.

May 26 2021, 3:32 AM · libksba, S/MIME, Bug Report