<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/security/libgcrypt, branch main</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2026-02-13T21:57:38Z</updated>
<entry>
<title>security/libgcrypt: Fix Curve25519 key validation</title>
<updated>2026-02-13T21:57:38Z</updated>
<author>
<name>Joseph Mingrone</name>
<email>jrm@FreeBSD.org</email>
</author>
<published>2026-02-13T18:06:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=be18d9f77a4439703553e6d64304f5dbef2086b6'/>
<id>urn:sha1:be18d9f77a4439703553e6d64304f5dbef2086b6</id>
<content type='text'>
Starting with version 1.12.0, libgcrypt was failing to validate
Curve25519 secret keys on FreeBSD-main.  This resulted in failures such
as in the example below.  Incorporate the patch from
https://dev.gnupg.org/T8094 to fix the problem.

% TEMP_GPG=$(mktemp -d)

% GNUPGHOME=$TEMP_GPG gpg --batch --import &lt; ./test/openpgp4-secret-key.asc
gpg: keybox '/tmp/tmp.gkqFaMAlVu/pubring.kbx' created
gpg: /tmp/tmp.gkqFaMAlVu/trustdb.gpg: trustdb created
gpg: key 7E6ABE924645CC60: public key "Notmuch Test Suite (INSECURE!) &lt;test_suite@notmuchmail.org&gt;" imported
gpg: key 7E6ABE924645CC60: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1

% GNUPGHOME=$TEMP_GPG gpg --decrypt ./test/corpora/crypto/basic-encrypted.eml
gpg: encrypted with cv25519 key, ID 1D71CFF38F6B48AF, created 2022-09-07
      "Notmuch Test Suite (INSECURE!) &lt;test_suite@notmuchmail.org&gt;"
gpg: public key decryption failed: Bad secret key
gpg: decryption failed: Bad secret key

Approved by:	cy (maintainer)
Obtained from:	https://dev.gnupg.org/T8094
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D55280
</content>
</entry>
<entry>
<title>security/libgcrypt: Update to 1.12.0</title>
<updated>2026-01-31T05:04:34Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2026-01-31T05:04:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=d2c9fa52618036a9a38405b45291b4e065183e64'/>
<id>urn:sha1:d2c9fa52618036a9a38405b45291b4e065183e64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>security/libgcrypt: Update to 1.11.2</title>
<updated>2025-08-10T05:38:02Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2025-08-10T05:35:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=5d7ee97a3a5cdf49e569e9f8597899fc9b1f96c6'/>
<id>urn:sha1:5d7ee97a3a5cdf49e569e9f8597899fc9b1f96c6</id>
<content type='text'>
PR:		288262
Suggested by:	fuz
MFH:		2025Q3
</content>
</entry>
<entry>
<title>security/libgcrypt: Update to 1.11.1</title>
<updated>2025-05-09T14:36:18Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2025-05-09T14:35:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=62781476fa55db74c5c8ce16049095db3c933853'/>
<id>urn:sha1:62781476fa55db74c5c8ce16049095db3c933853</id>
<content type='text'>
</content>
</entry>
<entry>
<title>security/libgcrypt: Fix regression</title>
<updated>2024-07-13T04:45:27Z</updated>
<author>
<name>Daniel Engberg</name>
<email>diizzy@FreeBSD.org</email>
</author>
<published>2024-07-13T04:35:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=518e0275a6603c913816be0f6cb4efab3ba56815'/>
<id>urn:sha1:518e0275a6603c913816be0f6cb4efab3ba56815</id>
<content type='text'>
In order to harvest the best entropy jitterentropy-base.c requires
that the compiler not optimize out any of its code. To ensure this
the cipher and randmom makefiles remove optmization options. This
will work in cases where the user has specified, for instance,
CFLAGS=-O3 but will not work when CFLAGS+=-O3 is specified. These
makefiles will only remove the first occurrence of the optimization
flag, resulting in a build failure. This patch alters the "munging"
sed command to remove all optimization options.

PR:	280081
MFH:	2024Q3
</content>
</entry>
<entry>
<title>security/libgcrypt: Remove GNU_CONFIGURE_MANPREFIX</title>
<updated>2024-07-01T03:30:44Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-07-01T03:30:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=c49e178f6ec54f504d1831d7320299f91d16d0d8'/>
<id>urn:sha1:c49e178f6ec54f504d1831d7320299f91d16d0d8</id>
<content type='text'>
Now that manprefix has been moved we no longer need
GNU_CONFIGURE_MANPREFIX. Remove it.

PR:		279904
Submitted by:	dizzy (part of a larger patch)
</content>
</entry>
<entry>
<title>security/libgcrypt: Improve legibility</title>
<updated>2024-07-01T03:27:46Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-07-01T03:27:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=013f956ddb6837deb4948d1ab474183c371677b9'/>
<id>urn:sha1:013f956ddb6837deb4948d1ab474183c371677b9</id>
<content type='text'>
PR:		279904
Submitted by:	dizzy (part of a larger patch)
</content>
</entry>
<entry>
<title>security/libgcrypt: Remove redundant USE_CSTD</title>
<updated>2024-07-01T03:24:16Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-07-01T03:24:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=be69018e3841fad2d6001b8a4c878676253550af'/>
<id>urn:sha1:be69018e3841fad2d6001b8a4c878676253550af</id>
<content type='text'>
USE=CSTD=gnu89 has not been needed for a while. Let's remove it.

PR:		279904
Submitted by:	dizzy (part of a larger patch)
</content>
</entry>
<entry>
<title>security/libgcrypt: Use pathfix</title>
<updated>2024-07-01T03:17:45Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-07-01T03:17:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=4ea1376d3c7b9dd5d9a3e189b0e1869bb33ca5b6'/>
<id>urn:sha1:4ea1376d3c7b9dd5d9a3e189b0e1869bb33ca5b6</id>
<content type='text'>
Lookup WRKSRC and fix common path. (NOOP for this port.)

PR:		279904
Submitted by:	dizzy (part of a larger patch)
</content>
</entry>
<entry>
<title>security/libgcrypt: Update to 1.11.0</title>
<updated>2024-07-01T03:13:03Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2024-07-01T03:13:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=0f1758093444df122a9ec355f077bb6c99f9cde9'/>
<id>urn:sha1:0f1758093444df122a9ec355f077bb6c99f9cde9</id>
<content type='text'>
PR:		279904
Submitted by:	dizzy (first part of a larger patch)
</content>
</entry>
</feed>
