In T5268#142612, @ballapete wrote:Wouldn't it be better to move these failures as a single one into the configure script that it definitely can tell "This Mac has getentropy()"?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Feb 1 2021
Feb 1 2021
Jan 29 2021
Jan 29 2021
I linked all related tasks for the release of 1.9.1, so that making release notes can be easier and recording information here.
• gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0.
• gniibe added a parent task for T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial: T5259: Release Libgcrypt 1.9.1.
• gniibe added a subtask for T5259: Release Libgcrypt 1.9.1: T5271: libgcrypt 1.9.0 compilation fails on Ubuntu xenial.
Jan 28 2021
Jan 28 2021
• gniibe raised the priority of T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware from Low to Normal.
• gniibe closed T4301: Handling multiple subkeys on two SmartCards, a subtask of T4695: Remove SERIALNO as an identifier to select keys, as Resolved.
• gniibe closed T4998: scdaemon: PC/SC "No such device" without reader-port, a subtask of T3300: scd: Support multiple readers by PC/SC driver, as Resolved.
• gniibe closed T4246: GnuPG master does not allow decryption with bad usage flags (regression), a subtask of T4417: Work needed for gnupg 2.3, as Resolved.
• gniibe closed T5114: GnuPG fails to import back generated and exported EdDSA secret key. as Resolved.
• gniibe closed T5116: GnuPG master shows an error when importing Ed25519 keys generated as Resolved.
• gniibe added a subtask for T5263: cipher/sha512.c: build failure without arm neon asm: T5259: Release Libgcrypt 1.9.1.
• gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5263: cipher/sha512.c: build failure without arm neon asm.
• gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5251: Compile error on ARMv7 for libgcrypt .
• gniibe added a subtask for T5251: Compile error on ARMv7 for libgcrypt : T5259: Release Libgcrypt 1.9.1.
• gniibe changed the status of T5270: gpg-agent crashes during signing: free(): invalid pointer from Open to Testing.
• gniibe added a subtask for T5157: libgcrypt: ARM64 Builds on macOS fail: T5259: Release Libgcrypt 1.9.1.
• gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5157: libgcrypt: ARM64 Builds on macOS fail.
Jan 27 2021
Jan 27 2021
TaaviE awarded T4620: no support for multiple (yubikey) smartcards plugged in at the same time a Like token.
Thank you for your testing.
Am I allowed to publish the patches for MacPorts?
Push the change.
For older versions of MacOS X, I'll handle it later.
• gniibe committed rC6cb0faf6ceec: random: Use getentropy on macOS when available. (authored by • gniibe).
random: Use getentropy on macOS when available.
mpi: Fix _gcry_mpih_mod implementation.
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/posix_spawn.2.html dated August 9, 2007.
So, I guess that posix_spawn became available in MacOS X Leopard (10.5).
I wrote:
I don't know when the symbol of getentropy was available on macOS.
@ballapete Thank you for testing.
Also support older MacOS X, which has no posix_spawn.
• gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.
build: Check spawn.h for MacOS X Tiger.
Jan 26 2021
Jan 26 2021
• gniibe added a comment to T5264: libgcrypt 1.9.0 does not compile on old Mac OS X, versions 10.5.8 (Leopard) and 10.4.11 (Tiger), both on PPC hardware.
@ballapete when you have time, could you also test https://dev.gnupg.org/T5268#142155 on Tiger?
To support old macOS (< 10.12), I think that code should be something like this:
• gniibe added a subtask for T5254: libgcrypt 1.9.0 fails make check (selftest): T5259: Release Libgcrypt 1.9.1.
• gniibe added a parent task for T5259: Release Libgcrypt 1.9.1: T5254: libgcrypt 1.9.0 fails make check (selftest).
• gniibe moved T5254: libgcrypt 1.9.0 fails make check (selftest) from Backlog to For 1.9 on the libgcrypt board.
I created T5268, please continue discussion there.
Just for the information, this library of Rust checks if the symbol definition is available (not NULL), and use getentropy in that case.
fall back to /dev/u?random
https://www.unix.com/man-page/mojave/2/getentropy/ says getentropy is available in 10.12 or later.
I realized that it's a bit difficult for macOS to use getentropy.
• gniibe removed a project from T4956: agent: Discrepancy of handling MPI for the interpretation of signed and unsigned: libgcrypt.
• gniibe moved T5257: 32 bit cross build fails on asm code in gcrypt 1.9.0 from Backlog to For 1.9 on the libgcrypt board.
Please note that we also have a commit rC477355047e5c: mpi/longlong: make use of compiler provided __builtin_ctz/__builtin_clz.
• gniibe committed rC1b74f633bd3e: ecc: Fix Ed25519 private key handling for preceding ZEROs. (authored by • gniibe).
ecc: Fix Ed25519 private key handling for preceding ZEROs.
• gniibe committed rC652b102697cb: ecc: Fix initialization of CTX for sign and verify. (authored by • gniibe).
ecc: Fix initialization of CTX for sign and verify.
• gniibe changed the status of T5267: Ed25519 backward compatible private key support for preceding ZERO(s) from Open to Testing.
• gniibe moved T5267: Ed25519 backward compatible private key support for preceding ZERO(s) from Backlog to For 1.9 on the libgcrypt board.
Jan 21 2021
Jan 21 2021
• gniibe committed rCfa3420b011c1: build: Fix build of tests with non-default installation. (authored by • gniibe).
build: Fix build of tests with non-default installation.
Jan 19 2021
Jan 19 2021
Fix DSA for FIPS 186-3.
• gniibe committed rCebeae5322264: Check if FIPS is operational and error return if not. (authored by • gniibe).
Check if FIPS is operational and error return if not.
For a bug which requires more tests (like this one with GnuPG and pinentry), I had a practice to put "Testing" tag.
• gniibe closed T4585: pinentry-tty mishandles ctrl-C, a subtask of T4771: pinentry-tty/pinentry-curses interact a user as background process, as Resolved.
Jan 18 2021
Jan 18 2021
Jan 15 2021
Jan 15 2021
Note that even after rCce1cbe16992a: Disable non-allowed algorithms in FIPS mode, gcry_md_open won't return an error with disabled algo.