Page MenuHome GnuPG
Feed Advanced Search

May 1 2020

werner committed rKcf49d3e60a67: Add a new DER builder for internal use. (authored by werner).
Add a new DER builder for internal use.
May 1 2020, 5:17 PM
werner committed rK0aee4bf12809: Add RSA encrypted sample file. (authored by werner).
Add RSA encrypted sample file.
May 1 2020, 5:17 PM
werner committed rK9c52d0787e0d: Add new internal function to get the encoded issuer (authored by werner).
Add new internal function to get the encoded issuer
May 1 2020, 5:17 PM
werner committed rKd1ca2c8b65da: Move ASN.1 constants to a separate header. (authored by werner).
Move ASN.1 constants to a separate header.
May 1 2020, 5:17 PM

Apr 30 2020

werner added a comment to T4931: gnupg unusable with a long path to $HOME.

Yes, with current gnupg it works w/o problems. Well, unless systemd decided to remove the directory. There is a loginctl(1) way to avoid this.

Apr 30 2020, 12:22 PM · Not A Bug, FAQ, gnupg
werner triaged T4931: gnupg unusable with a long path to $HOME as Normal priority.

You are still using the old way of having the sockets in ${GNUPGHOME:-~/.gnupg}. Since 2.2.13 we use

Apr 30 2020, 9:32 AM · Not A Bug, FAQ, gnupg

Apr 29 2020

werner committed rDa79738639c60: web: Explain how to terminate recurring donations (authored by werner).
web: Explain how to terminate recurring donations
Apr 29 2020, 5:50 PM
werner added a comment to T4930: Support --multifile --detach-sign.

API-wise this would be possible because right now gpg errors out with

Apr 29 2020, 11:55 AM · Feature Request

Apr 27 2020

werner changed the status of T4921: Support import of PKCS#12 encoded ECC private keys. from Open to Testing.
Apr 27 2020, 8:09 PM · gnupg22 (gnupg-2.2.42), backport, Feature Request, S/MIME
werner changed the status of T4921: Support import of PKCS#12 encoded ECC private keys., a subtask of T4098: GpgSM: Add ECC support, from Open to Testing.
Apr 27 2020, 8:09 PM · gnupg (gpg23), Feature Request, S/MIME
werner added a comment to T4921: Support import of PKCS#12 encoded ECC private keys..

Done for master

Apr 27 2020, 8:09 PM · gnupg22 (gnupg-2.2.42), backport, Feature Request, S/MIME
werner committed rG5da6925a334c: sm: Add support to export ECC private keys. (authored by werner).
sm: Add support to export ECC private keys.
Apr 27 2020, 7:57 PM

Apr 26 2020

werner added a comment to T4927: pinentry doesn't compile: declaration of ttytype conflicts with curses.h.

Using a double underscore in a symbol should be avoided because such symbols are reserved for system use.
(To include a diff inline, please intend it by two spaces so that it is not not considered as marked up text.)

Apr 26 2020, 11:42 AM · pinentry, Bug Report

Apr 24 2020

werner committed rG5ea878274ef5: common: Add an easy to use DER builder. (authored by werner).
common: Add an easy to use DER builder.
Apr 24 2020, 5:05 PM
werner created T4926: Add API to map a curve name to its canonical OID..
Apr 24 2020, 2:15 PM · Feature Request, libgcrypt

Apr 23 2020

werner edited projects for T4925: FAIL: armencryptp.test, added: gnupg (gpg14); removed gnupg (gpg20).

That is a very old version (2015); please retry using the latest released version 1.4.23 (from 2018).

Apr 23 2020, 6:43 PM · Info Needed, gnupg (gpg14), Bug Report
werner triaged T4923: Compile Kleopatra with DEP/ASLR support as Normal priority.
Apr 23 2020, 2:53 PM · gpg4win, kleopatra, Feature Request
werner added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

I just tried and Pinentry ask me whether I really want to use an unprotected key. Take care that you hit the right button.

Apr 23 2020, 2:52 PM · pinentry, Bug Report
werner committed rG95d83cf90617: sm: Support decryption of ECDH data. (authored by werner).
sm: Support decryption of ECDH data.
Apr 23 2020, 10:08 AM
werner committed rG5d015b38eb9f: common: Add functions to help create DER objects. (authored by werner).
common: Add functions to help create DER objects.
Apr 23 2020, 10:08 AM
werner committed rGc03f80dc1960: sm: Minor debug output format changes. (authored by werner).
sm: Minor debug output format changes.
Apr 23 2020, 10:08 AM

Apr 21 2020

werner committed rG8dfef5197af9: sm: Support import of PKCS#12 encoded ECC private keys. (authored by werner).
sm: Support import of PKCS#12 encoded ECC private keys.
Apr 21 2020, 9:18 PM
werner committed rGa6d2f313374d: sm: Replace some debug message by log_error or log_info (authored by werner).
sm: Replace some debug message by log_error or log_info
Apr 21 2020, 9:18 PM
werner committed rG3633ca6e21f7: scd: Detect missing card in "getinfo all_active_apps". (authored by werner).
scd: Detect missing card in "getinfo all_active_apps".
Apr 21 2020, 9:18 PM
werner committed rGf05a32e5c9db: scd:nks: Allow retrieving certificates from a Signature Card v.20 (authored by werner).
scd:nks: Allow retrieving certificates from a Signature Card v.20
Apr 21 2020, 9:18 PM
werner created T4921: Support import of PKCS#12 encoded ECC private keys..
Apr 21 2020, 5:01 PM · gnupg22 (gnupg-2.2.42), backport, Feature Request, S/MIME
werner committed rK401dc58d3d55: Support parsing of the CMS KeyAgreeRecipientInfo. (authored by werner).
Support parsing of the CMS KeyAgreeRecipientInfo.
Apr 21 2020, 2:50 PM
werner committed rKd07733cf94a2: Extend the parser to better handle CHOICE elements. (authored by werner).
Extend the parser to better handle CHOICE elements.
Apr 21 2020, 2:50 PM
werner created T4920: Support ECDH in Libksba.
Apr 21 2020, 2:33 PM · libksba, Feature Request, S/MIME

Apr 20 2020

werner added a comment to T3505: Port GPGME's Python bindings to Windows.

FWIW, GPGME is basically C90 and we only recently started to use C99 variadic macros - they are a cpp feature, though.

Apr 20 2020, 7:29 AM · Feature Request, gpgme, Python

Apr 17 2020

werner added a comment to T4098: GpgSM: Add ECC support.

I am working on the Telesec Signature Card v2. I will add encryption support to gpgsm.

Apr 17 2020, 6:03 PM · gnupg (gpg23), Feature Request, S/MIME
werner added projects to T4916: GpgEX: Windows 10 Right-Click Unencrypted Folder Handling: Windows, gpgex.

Please let us know which version of Gpg4win you are using.

Apr 17 2020, 4:40 PM · gpgex, Windows
werner added a project to T4919: GpgOL doesn't recognize encrypted mails when opened via external programs: gpgol.
Apr 17 2020, 4:38 PM · gpgol, Bug Report
werner closed T4918: GnuPG cannot decrypt an ECDH-AES128 message encrypted to Alice's Key from draft-bre-openpgp-samples-00 as Resolved.

Sorry, I don't know what kind of sample data that is. The reference keys have been provided by the RFC6637 author and are part of GnuPG's test suite; see (gnupg/tests/openpgp/samplekeys/ecc-sample-*).

Apr 17 2020, 12:10 PM · OpenPGP

Apr 16 2020

werner committed rGaec7d136e4bd: sm: Always allow authorityInfoAccess lookup if CRLs are also enabled. (authored by werner).
sm: Always allow authorityInfoAccess lookup if CRLs are also enabled.
Apr 16 2020, 7:08 PM
werner committed rGbbb7edb8807b: sm: Always allow authorityInfoAccess lookup if CRLs are also enabled. (authored by werner).
sm: Always allow authorityInfoAccess lookup if CRLs are also enabled.
Apr 16 2020, 7:07 PM
werner committed rGd57209553da7: sm: Lookup missing issuers first using authorityInfoAccess. (authored by werner).
sm: Lookup missing issuers first using authorityInfoAccess.
Apr 16 2020, 6:07 PM
werner committed rG3b27c26241ee: dirmngr: Allow http URLs with "LOOKUP --url" (authored by werner).
dirmngr: Allow http URLs with "LOOKUP --url"
Apr 16 2020, 6:07 PM
werner committed rGf5efbd5a1169: sm: Lookup missing issuers first using authorityInfoAccess. (authored by werner).
sm: Lookup missing issuers first using authorityInfoAccess.
Apr 16 2020, 6:05 PM
werner committed rG7f1be1ea524e: dirmngr: Allow http URLs with "LOOKUP --url" (authored by werner).
dirmngr: Allow http URLs with "LOOKUP --url"
Apr 16 2020, 6:05 PM
werner closed T4898: auto import CA certs with authInfo.caIssuers as Resolved.

We do this now always if --auto-issuer-key-retrieve is set. Also backported to 2.2

Apr 16 2020, 6:02 PM · dirmngr, S/MIME, gnupg (gpg23)
werner committed rG7dbfd92b3e23: gpg: Add missing options --no-include-key-block. (authored by werner).
gpg: Add missing options --no-include-key-block.
Apr 16 2020, 12:10 PM
werner removed a project from T3714: Failing to decrypt due to missing MDC: gnupg.
Apr 16 2020, 9:47 AM · FAQ, kleopatra
werner closed T3786: Unexpectedly slow decryption for AEAD (and CFB) as Resolved.

I back ported @jukivili's changes back to 2.2 which gives a CFB decryption speedup of 25%. I also implemented AEAD _decryption_ in 2.2 to be prepared for mixed 2.2 and 2.3 version use. And AEAD is really fast compared to CFB. Willbe in 2.2.21.

Apr 16 2020, 9:46 AM · gnupg (gpg23), Bug Report
werner closed T4917: Add AEAD support to --show-session-key as Invalid.

Nope, I was wrong.

Apr 16 2020, 9:19 AM · Feature Request, gnupg (gpg23)
werner created T4917: Add AEAD support to --show-session-key.
Apr 16 2020, 9:16 AM · Feature Request, gnupg (gpg23)
werner committed rGab7a0b07024c: gpg: Show AEAD preferences (authored by werner).
gpg: Show AEAD preferences
Apr 16 2020, 8:55 AM
werner committed rG37b116db2008: gpg: Make AEAD modes subject to compliance checks. (authored by werner).
gpg: Make AEAD modes subject to compliance checks.
Apr 16 2020, 8:55 AM
werner committed rG1dfe71c62b18: gpg: Support decryption of the new AEAD packet (authored by werner).
gpg: Support decryption of the new AEAD packet
Apr 16 2020, 8:55 AM
werner committed rG144b95cc9d0f: gpg: Improve symmetric decryption speed by about 25% (authored by werner).
gpg: Improve symmetric decryption speed by about 25%
Apr 16 2020, 8:55 AM
werner committed rG2f39e00b6b7d: gpg: Reformat parts of decrypt-data.c (authored by werner).
gpg: Reformat parts of decrypt-data.c
Apr 16 2020, 8:54 AM
werner committed rGcec397e00240: gpg: Make AEAD modes subject to compliance checks. (authored by werner).
gpg: Make AEAD modes subject to compliance checks.
Apr 16 2020, 8:53 AM

Apr 15 2020

werner committed rGdf0edaf91a22: gpg: Fix broken setting of AEAD algo. (authored by werner).
gpg: Fix broken setting of AEAD algo.
Apr 15 2020, 10:24 PM
werner committed rG5c47e7825ba6: indent: Some typo and indentation changes for gpg. (authored by werner).
indent: Some typo and indentation changes for gpg.
Apr 15 2020, 10:24 PM
werner added a comment to D496: Improve the quality of the example "scd-event" script.

Thanks for the patch. However, this the getopt is unfortunately GNU specific which is the reason why the original code open coded the option parser.

Apr 15 2020, 4:06 PM
werner committed rGddc74f50d423: sm,dirmngr: Restrict allowed parameters used with rsaPSS. (authored by werner).
sm,dirmngr: Restrict allowed parameters used with rsaPSS.
Apr 15 2020, 3:48 PM
werner committed rG24d563749f50: sm: Support rsaPSS verification also for CMS signatures. (authored by werner).
sm: Support rsaPSS verification also for CMS signatures.
Apr 15 2020, 3:48 PM
werner committed rG0626cc8fed34: sm,dirmngr: Support rsaPSS signature verification. (authored by werner).
sm,dirmngr: Support rsaPSS signature verification.
Apr 15 2020, 3:48 PM
werner committed rG8bf17eb94d0d: dirmngr: Support rsaPSS also in the general validate module. (authored by werner).
dirmngr: Support rsaPSS also in the general validate module.
Apr 15 2020, 3:48 PM
werner committed rG4d37cc72b83f: common: New function to map hash algo names. (authored by werner).
common: New function to map hash algo names.
Apr 15 2020, 3:48 PM
werner committed rG39e2260d7e05: scd:p15: Return a display S/N via Assuan. (authored by werner).
scd:p15: Return a display S/N via Assuan.
Apr 15 2020, 3:48 PM
werner committed rG9e6a3290dad1: scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word. (authored by werner).
scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word.
Apr 15 2020, 3:48 PM
werner committed rGbeaa2cbb7f03: scd:p15: Show a pretty PIN prompt. (authored by werner).
scd:p15: Show a pretty PIN prompt.
Apr 15 2020, 3:48 PM
werner committed rG9497d25c567d: scd: Factor common PIN status check out. (authored by werner).
scd: Factor common PIN status check out.
Apr 15 2020, 3:48 PM
werner committed rG471b06e91b6a: scd:p15: Fix decrypt followed by sign problem for D-Trust cards. (authored by werner).
scd:p15: Fix decrypt followed by sign problem for D-Trust cards.
Apr 15 2020, 3:48 PM
werner committed rG88b456bdf4e4: gpg: Use the new MANUFACTURER attribute. (authored by werner).
gpg: Use the new MANUFACTURER attribute.
Apr 15 2020, 3:48 PM
werner committed rG431b3e68e071: scd:openpgp: New attribute "MANUFACTURER". (authored by werner).
scd:openpgp: New attribute "MANUFACTURER".
Apr 15 2020, 3:48 PM
werner committed rG4148976841d1: scd:p15: Emit MANUFACTURER, $ENCRKEYID, $SIGNKEYID. (authored by werner).
scd:p15: Emit MANUFACTURER, $ENCRKEYID, $SIGNKEYID.
Apr 15 2020, 3:48 PM
werner committed rGb0cb2c2ab8c7: scd:p15: Rename some variables and functions for clarity. (authored by werner).
scd:p15: Rename some variables and functions for clarity.
Apr 15 2020, 3:48 PM
werner committed rG133b6ff8cd0c: scd:p15: Cache the PIN. (authored by werner).
scd:p15: Cache the PIN.
Apr 15 2020, 3:48 PM
werner committed rGc0d5c673542b: sm,dirmngr: Restrict allowed parameters used with rsaPSS. (authored by werner).
sm,dirmngr: Restrict allowed parameters used with rsaPSS.
Apr 15 2020, 11:11 AM

Apr 14 2020

werner assigned T4915: Cannot compile on macOS Mojave (utf8.c) to gniibe.

Thanks for reporting; the code is really new and not yet fully tested.

Apr 14 2020, 6:33 PM · Restricted Project, gnupg (gpg23), Bug Report
werner committed rKe6e9858970ed: Support rsaPSS also for CRLs. (authored by werner).
Support rsaPSS also for CRLs.
Apr 14 2020, 4:53 PM
werner committed rK17a09f41fc4b: Allow for Null hash algo parameters on rsaPSS and add pss flag. (authored by werner).
Allow for Null hash algo parameters on rsaPSS and add pss flag.
Apr 14 2020, 4:53 PM
werner committed rK5c08d7ea8e0f: Refactor PSS parameter parsing. (authored by werner).
Refactor PSS parameter parsing.
Apr 14 2020, 4:53 PM
werner committed rK641fc8b6deac: Merge copies of stringbuf functions into one new header. (authored by werner).
Merge copies of stringbuf functions into one new header.
Apr 14 2020, 4:53 PM
werner closed T4538: Support PSS signed CRLs as Resolved.

Data (ie.e CMS) signatures do now also work.

Apr 14 2020, 4:26 PM · dirmngr, S/MIME, libksba
werner committed rG6c28d9343ea6: sm: Support rsaPSS verification also for CMS signatures. (authored by werner).
sm: Support rsaPSS verification also for CMS signatures.
Apr 14 2020, 3:51 PM
werner committed rC32b08e38628b: sexp: Extend gcry_sexp_extract_param with a multi-string extractor. (authored by werner).
sexp: Extend gcry_sexp_extract_param with a multi-string extractor.
Apr 14 2020, 2:28 PM

Apr 10 2020

werner added a comment to T4913: ntbtls: TLS handshake error.

I think I fixed a memory leak on error but no other changes for old code except that the array to old the args now takes void* and not gcry_mpi_t - which does not make a difference.

Apr 10 2020, 12:23 PM · ntbtls

Apr 9 2020

werner committed rC60c179b59e53: sexp: Extend gcry_sexp_extract_param with new format specifiers. (authored by werner).
sexp: Extend gcry_sexp_extract_param with new format specifiers.
Apr 9 2020, 8:23 PM
werner added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

There are no betas; either you apply the patch mentioned above ( rG2f08a4f25df7) to a stock 2.2.20 or you build from the Git repo (STABLE-BRANCH-2-2, see https://gnupg.org/download/git.html).

Apr 9 2020, 6:44 PM · Restricted Project, gnupg (gpg22), Bug Report
werner added a comment to T4538: Support PSS signed CRLs.

Okay certificate and CRL checking does now work with rsaPSS. Need to work on data signatures and check the compliance modes.

Apr 9 2020, 1:09 PM · dirmngr, S/MIME, libksba
werner committed rGba34f1415366: dirmngr: Support rsaPSS also in the general validate module. (authored by werner).
dirmngr: Support rsaPSS also in the general validate module.
Apr 9 2020, 1:07 PM
werner committed rGb45ab0ca08f8: sm,dirmngr: Support rsaPSS signature verification. (authored by werner).
sm,dirmngr: Support rsaPSS signature verification.
Apr 9 2020, 12:24 PM
werner committed rG5d5b70ae0f51: common: New function to map hash algo names. (authored by werner).
common: New function to map hash algo names.
Apr 9 2020, 12:24 PM
werner committed rGbfedc760efdc: scd:p15: Return a display S/N via Assuan. (authored by werner).
scd:p15: Return a display S/N via Assuan.
Apr 9 2020, 12:24 PM
werner edited projects for T4912: Miscellaneous feedback for gpg4win-compendium-de.pdf , added: Documentation; removed Bug Report.
Apr 9 2020, 9:02 AM · Documentation, gpg4win

Apr 8 2020

werner committed rKf5695be600ab: Add read-only support for rsaPSS. (authored by werner).
Add read-only support for rsaPSS.
Apr 8 2020, 8:52 PM
werner committed rK152d04749cce: Remove duplicated code and make parse wrappers internally available. (authored by werner).
Remove duplicated code and make parse wrappers internally available.
Apr 8 2020, 8:52 PM
werner claimed T4538: Support PSS signed CRLs.

I started to work on it so that I can actually use the certificates on my new D-Trust card. This will be a verify-only implementation.

Apr 8 2020, 8:37 PM · dirmngr, S/MIME, libksba
werner added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

FWIW, the code was written by the author of the specs and he note in his original patch (rGe0972d3d96) :

Apr 8 2020, 4:07 PM · Restricted Project, gnupg (gpg22), Bug Report

Apr 7 2020

werner closed T4909: gpg2: "decryption failed: No secret key" DBG: search.keyring.c.1109, parse.keyring.c.415 as Resolved.

That smells very much like an old and insecure version 3 key. We don't allow them anymore - use gpg 1 to decrypt old material but never use that key to sign stuff or give it to others to encrypt to you. It is just too weak.

Apr 7 2020, 8:59 PM · FAQ
werner committed rG9ec8d984be46: scd:p15: Show a pretty PIN prompt. (authored by werner).
scd:p15: Show a pretty PIN prompt.
Apr 7 2020, 8:40 PM
werner committed rGf28795b615c3: scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word. (authored by werner).
scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word.
Apr 7 2020, 8:40 PM
werner committed rG60d018f6a91c: scd: Factor common PIN status check out. (authored by werner).
scd: Factor common PIN status check out.
Apr 7 2020, 8:40 PM
werner committed rG42ddcc87f4bc: scd:p15: Fix decrypt followed by sign problem for D-Trust cards. (authored by werner).
scd:p15: Fix decrypt followed by sign problem for D-Trust cards.
Apr 7 2020, 4:05 PM
werner committed rG5ec1f667930b: doc: Typo fix in code comment. (authored by werner).
doc: Typo fix in code comment.
Apr 7 2020, 4:05 PM
werner added a comment to T4909: gpg2: "decryption failed: No secret key" DBG: search.keyring.c.1109, parse.keyring.c.415.

Please explain what your problems is. Setting arbitrary debug flags is not helpful for your or us.

Apr 7 2020, 8:48 AM · FAQ
werner created T4910: Allow to add a no-mail notation to user-ids.
Apr 7 2020, 8:38 AM · gnupg24, gnupg (gpg23), Feature Request