aboutsummaryrefslogtreecommitdiff
path: root/security/libgcrypt/files
Commit message (Collapse)AuthorAgeFilesLines
* security/libgcrypt: Fix Curve25519 key validationJoseph Mingrone2026-02-1312-0/+677
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 < ./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!) <test_suite@notmuchmail.org>" 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!) <test_suite@notmuchmail.org>" 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
* security/libgcrypt: Update to 1.11.1Cy Schubert2025-05-092-22/+0
|
* security/libgcrypt: Fix regressionDaniel Engberg2024-07-132-0/+22
| | | | | | | | | | | | | | 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
* security/libgcrypt: Update to 1.10.2Jason E. Hale2023-06-251-10/+0
| | | | | | | | | 1.10.2: https://dev.gnupg.org/T5905 1.10.1: https://dev.gnupg.org/T5810 1.10.0: https://dev.gnupg.org/T5691 PR: 272097 Approved by: cy (maintainer)
* security/libgcrypt: Circumvent WITH_DEBUG build failureCy Schubert2022-12-051-0/+29
| | | | | | | | | | Register allocation exaustion results within inline assembly when WITH_DEBUG is specified. Therefore when WITH_DEBUG is used, disable inline assembly. PR: 268173 Reported by: bofh MFH: 2022Q4
* security/libgcrypt: optionalize INFOGreg V2022-01-271-0/+20
| | | | | | | | | | Allow the user to optionally exclude INFO files, allowing the space conscious user the ability to install a minimual package. The default remains to install INOF files as before. PR: 259552 Reported by: Greg V <greg@unrelenting.technology> Submitted by: Greg V <greg@unrelenting.technology>
* security/libgcrypt: Update to 1.9.4Cy Schubert2021-08-231-5/+5
|
* security/libgcrypt: Fix FreeBSD 12 armv6 build.Cy Schubert2021-03-171-0/+10
| | | | | | | MFH: 2021Q1 Notes: svn path=/head/; revision=568667
* security/libgcrypt: Update 1.8.7 --> 1.9.1Cy Schubert2021-02-031-31/+0
| | | | | | | Note: 1.8.7 nor 1.9.1 are vulnerable to CVE-2021-3345. Only 1.9.0 is. Notes: svn path=/head/; revision=563969
* security/libgcrypt: fix build on aarch64 with lld10Mikael Urankar2020-03-311-0/+31
| | | | | | | | | | | | import upstream fix: https://github.com/gpg/libgcrypt/commit/09c27280cc09798d15369b3a143036b7ab5ddd69 PR: 244848 Submitted by: Charlie Li Approved by: cpm (maintainer timeout), manu (mentor, implicit) Notes: svn path=/head/; revision=529954
* security/libgcrypt: Fix build for powerpc/powerpcspeCarlos J. Puga Medina2018-01-221-0/+13
| | | | | | | | | | | - Add the missing check for powerpcspe- and powerpc- in mpi/config.links Submitted by: jhibbits Approved by: cpm (maintainer) Differential Revision: https://reviews.freebsd.org/D13854 Notes: svn path=/head/; revision=459647
* - Remove unnecessary extra-patch-aarch64 (applied upstream)Carlos J. Puga Medina2017-07-221-68/+0
| | | | | | | | Reported by: Shawn Webb <shawn.webb@hardenedbsd.org> via email MFH: 2017Q3 (blanket) Notes: svn path=/head/; revision=446350
* security/libgcrypt: update to 1.7.7Carlos J. Puga Medina2017-06-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | - Update libgcrypt to 1.7.7 - Silence all explicitly called commands - Update WWW in pkg-descr: use https:// - Bump library version in pkg-plist Noteworthy changes in version 1.7.7 * Bug fixes: - Fix possible timing attack on EdDSA session key. - Fix long standing bug in secure memory implementation which could lead to a segv on free. [bug#3027]. PR: 219747 MFH: 2017Q2 Exp-run by: antoine Notes: svn path=/head/; revision=442829
* security/libgcrypt: fix build on aarch64Carlos J. Puga Medina2017-02-281-0/+68
| | | | | | | | | | | | | | | libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -Wa,--noexecstack -O2 -pipe -fno-strict-aliasing -std=gnu89 -MT cipher-gcm-armv8-aarch64-ce.lo -MD -MP -MF .deps/cipher-gcm-armv8-aarch64-ce.Tpo -c cipher-gcm-armv8-aarch64-ce.S -fPIC -DPIC -o .libs/cipher-gcm-armv8-aarch64-ce.o cipher-gcm-armv8-aarch64-ce.S:190:3: error: instruction requires: neon eor v31.16b, v31.16b, v31.16b ^ PR: 217271 Submitted by: krion Reported by: Simon Rozman <simon@rozman.si> MFH: 2017Q1 (blanket) Notes: svn path=/head/; revision=435049
* security/libgcrypt: Update to 1.7.5Carlos J. Puga Medina2016-12-231-27/+0
| | | | | | | | | | | | | | | | | | - Update to 1.7.5 - Remove files useless to install from DOCS - Remove patch since sparc v8 is not supported on FreeBSD - Bump library version in pkg-plist Changelog: https://lists.gnupg.org/pipermail/gnupg-announce/2016q4/000399.html PR: 215236 Approved by: amdmi3 (mentor) MFH: 2016Q4 Exp-run by: antoine Notes: svn path=/head/; revision=429273
* - Update to 1.7.1Carlos J. Puga Medina2016-06-172-283/+4
| | | | | | | | | | | | | | | | | - Remove unneeded patch (applied upstream) - Convert to new test framework https://lists.gnupg.org/pipermail/gnupg-announce/2016q2/000389.html PR: 210328 Reviewed by: amdmi3, junovitch (mentors) Approved by: amdmi3, junovitch (mentors) MFH: 2016Q2 Exp-run: antoine Differential Revision: D6865 Notes: svn path=/head/; revision=417040
* - Update to 1.7.0Carlos J. Puga Medina2016-04-234-95/+292
| | | | | | | | | | | | | | | | - Remove unneeded patches (applied upstream) - Fix inline assembler error on 9.x - Fix pkg-plist Changelog: https://lists.gnupg.org/pipermail/gnupg-announce/2016q2/000386.html PR: 208907 Approved by: junovitch (mentor) Exp-run: antoine Differential Revision: D5989 Notes: svn path=/head/; revision=413860
* - cipher/salsa20.c (selftest): Ensure 16-byte alignment for salsa20Carlos J. Puga Medina2016-03-283-23/+89
| | | | | | | | | | | | context structure. - mpi/longlong.h: Fix build on sparc. PR: 206919 Approved by: junovitch (mentor) Notes: svn path=/head/; revision=412077
* - Update libgcrypt to 1.6.5Carlos J. Puga Medina2016-02-162-61/+23
| | | | | | | | | | | | | | - Change LICENSE since support has been added for "or later" variants of GNU licenses. - Remove needless patch-cipher_salsa20.c Changes: https://lists.gnupg.org/pipermail/gnupg-announce/2016q1/000384.html PR: 207107 Approved by: junovitch (mentor) Notes: svn path=/head/; revision=408972
* This patch fixes alignment of self-test context in salsa20 requiredCarlos J. Puga Medina2016-02-084-63/+81
| | | | | | | | | | | | | | | for amd64 implementation. Other changes: - Regenerate patches to make portlint(1) happy - Update MAINTAINER to my @FreeBSD.org address - Bump PORTREVISION PR: 206919 Approved by: junovitch (mentor) Notes: svn path=/head/; revision=408514
* Add upstream commit to fix build errors with -pedantic.Raphael Kubo da Costa2015-12-181-0/+40
| | | | | | | | | | | | | | | | | This fixes at least devel/ccrtp's build on 9.3, which is currently broken: In file included from ccrtp/crypto/gcrypt/gcrypthmac.cpp:23: /usr/local/include/gcrypt.h:509: error: comma at end of enumerator list /usr/local/include/gcrypt.h:1346: error: comma at end of enumerator list Makefile:571: recipe for target 'gcrypthmac.lo' failed MFH'ing this is not necessary, this bug is only present in libgcrypt 1.6.4. PR: 205000 Approved by: maintainer timeout (15 days) Notes: svn path=/head/; revision=403961
* security/libgcrypt: Re-add missing patchKurt Jaeger2015-11-221-0/+23
| | | | | | | | | | | - This patch was removed when updating to 1.6.4, so the patch needs to be put back in order to solve the bug 204399. PR: 204600 Submitted by: Carlos J. Puga Medina <cpm@fbsd.es> (maintainer) Notes: svn path=/head/; revision=402237
* - Update to 1.8.4Sunpoet Po-Chuan Hsieh2015-10-272-35/+0
| | | | | | | | | Changes: http://lists.gnupg.org/pipermail/gnupg-announce/2015q3/000375.html PR: 204003 Submitted by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer) Notes: svn path=/head/; revision=400319
* - Drop 8.x supportDmitry Marakasov2015-09-201-11/+0
| | | | | | | | | - Switch to options helpers Approved by: portmgr blanket Notes: svn path=/head/; revision=397388
* security/libgcrypt: fix some issuesKurt Jaeger2015-02-071-0/+15
| | | | | | | | | | | | - Fix crash at cipher/salsa20.c module on amd64. - Fix strip shared object. - Bump PORTREVISION. PR: 197146 Submitted by: cpm@fbsd.es (maintainer) Notes: svn path=/head/; revision=378572
* security/libgcrypt: fix build without assembler on 8.x/amd64Kurt Jaeger2014-09-021-0/+11
| | | | | | | | | PR: 192555 Submitted by: Carlos Jacobo Puga Medina <cpm@fbsd.es> Approved by: maintainer (timeout) Notes: svn path=/head/; revision=367081
* security/libgcrypt: 1.5.3_3 -> 1.6.1Kurt Jaeger2014-07-304-172/+20
| | | | | | | | | | | | | | | | | | | | | | | | - Update to 1.6.1 - Remove some unneeded patches - Fix pkg-plist - report configure bug upstream https://bugs.g10code.com/gnupg/issue1668 - report API breakage downstream and find that MacPorts had the same issue https://rt.cpan.org/Ticket/Display.html?id=97201 - bump PORTREVISION for dependent ports (approx. 100 ports) - Thanks to exp-run by antoine@ to find ports that break - patch ports that would otherwise break security/shishi with PR 192164 is already committed [1] devel/ccrtp [2] editors/abiword [3] security/p5-Crypt-GCrypt PR: 191256, 192162 [1], 192163 [2], 192166 [3] Submitted by: Carlos Jacobo Puga Medina <cjpugmed@gmail.com> Approved by: maintainer timeout, antoine (exp-run), portmgr (implicit) Notes: svn path=/head/; revision=363436
* Added needed ASM instructions for armv6 architecture support.Sean Bruno2014-07-051-2/+39
| | | | | | | | | PR: 190848 Submitted by: andrew@freebsd.org Reviewed by: mat@freebsd.org Notes: svn path=/head/; revision=360837
* - USES=libtool tar:bzip2.Tijl Coosemans2014-04-012-32/+32
| | | | | | | | | | | | | - Enable asm on FreeBSD/i386 >= 10.0. - Enable asm on FreeBSD/amd64. [1] - Use MAKE_CMD instead of MAKE to run regression tests. PR: ports/187441 Submitted by: Stoyan Dimov <pr.freebsd.org@registrations.systeem.com> [1] Approved by: maintainer timeout (2 weeks) Notes: svn path=/head/; revision=349852
* Update to 1.5.2Emanuel Haupt2013-05-031-19/+0
| | | | | | | | | | | | Changelog: http://lists.gnupg.org/pipermail/gnupg-announce/2013q1/000324.html (1.5.1) http://lists.gnupg.org/pipermail/gnupg-announce/2013q2/000325.html (1.5.2) PR: 177100 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer) Notes: svn path=/head/; revision=317219
* - Properly define deprecated functions to remove warnings in otherRoman Bogorodskiy2012-08-251-0/+19
| | | | | | | | | | | | | ports - Avoid installing multiple copies of the GPLv2 and LGPL21 licenses - Bump PORTREVISION PR: 170488 Submitted by: Jason E. Hale <bsdkaffee@gmail.com> Approved by: Hirohisa Yamaguchi (maintainer) Notes: svn path=/head/; revision=303123
* In the AES-NI inline assembly, change instances of 'cmpq' to 'cmpl'. IDimitry Andric2011-07-261-8/+8
| | | | | | | | | | | | | had erroneously assumed this would only be compiled on amd64, but even then a 64 bit compare is wrong. The variables referenced in the inline assembly are all plain int, so 32 bit. PR: ports/159147 Pointy hat to: dim Requested by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer) Notes: svn path=/head/; revision=278348
* Building security/libgcrypt 1.5.0 with clang results in errors similarDimitry Andric2011-07-211-0/+61
| | | | | | | | | | | | | | | | | | | | to the following: rijndael.c:846:46: error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq') "movdqa 0xa0(%%esi), %%xmm1\n\t" ^ <inline asm>:24:2: note: instantiated into assembly here cmp $10, -80(%ebp) ^ This is because the 'cmp' instruction lacks a type suffix, and is thus ambiguous. Fix this by changing these to 'cmpq'. PR: ports/158994 Approved by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer) Notes: svn path=/head/; revision=278132
* - Update to 1.5.0Steve Wills2011-07-031-15/+15
| | | | | | | | PR: ports/158574 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer) Notes: svn path=/head/; revision=276970
* Fix linking with clang, and give longlong.h a simular treatment like wasKoop Mast2010-11-021-0/+42
| | | | | | | | | | | | | done in 9-current so clang can build it on i386. Update LICENSE block, and remove md5 sum. PR: ports/151349 Submitted by: myself Approved by: Yamaguchi Hirohisa <umq@ueo.co.jp> (maintainer) Notes: svn path=/head/; revision=263933
* Update libgcrypt to the new stable version 1.2.0Tilman Keskinoz2004-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Retire libgcrypt-devel Switch back to security/libgcrypt and bump PORTREVISION for - gnutls - gnutls-devel - gsasl - opencdk - vpnc libggz: - Remove dependency on libgcrypt, because the port does not yet work with the new libgcrypt libksba: - Update to 0.9.5 - Pass maintainership to lofi, who already maintains the other aegypten ports. Approved by: lofi wmbiff: Switch to security/libgcrypt but no PORTREVISION bump, because the dependency is optional and the port does not work with the new libgcrypt and needs to be updated. No action, because ports don't work with the new libgcrypt and need to be updated, maintainers informed: security/newpg security/pinentry security/dirmngr emulators/fuse emulators/libspectrum Notes: svn path=/head/; revision=108267
* libtool uber-patchAde Lovett2003-06-261-14/+0
| | | | | | | | | | | | | | * kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5 * upgrade repo-copied devel/libtool14 to 1.4.3 * break out libltdl into its own separate port * move to version-numbered binaries/scripts (ie: there is *no* 'libtool' any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends) Approved by: portmgr (kris) - for the bsd.port.mk hooks Tested by: bento 4-exp builds (repeatedly) Notes: svn path=/head/; revision=83696
* add libgcrypt 1.1.0Ying-Chieh Liao2002-10-142-0/+46
General purpose crypto library based on code used in GnuPG PR: 43894 Submitted by: Tilman Linneweh <tilman@arved.de> Notes: svn path=/head/; revision=68030