In T6679#174951, @werner wrote:The copy of the database we received for this case is not damaged. A possible problem might be insufficient rights to read the database. For example created with an Admin account and then later used by a different user.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Aug 30 2023
Aug 30 2023
Aug 30 2023, 6:13 PM · gnupg24 (gnupg-2.4.4), gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), Feature Request, gpgol, S/MIME, kleopatra, Restricted Project
The copy of the database we received for this case is not damaged. A possible problem might be insufficient rights to read the database. For example created with an Admin account and then later used by a different user.
Aug 28 2023
Aug 28 2023
• werner moved T6421: Improve error message if no reset code (PUK) is set from WiP to Backlog on the gnupg22 board.
Not easy do decide whether something is a PIN or a PUK and we will need to check a lot of places. So, not now.
Aug 25 2023
Aug 25 2023
• werner edited projects for T3927: gpgsm certificate import fails because of hardcoded password length limitation, added: Feature Request; removed Bug Report.
Turning this into a feature request: We should create P12 files using AES instead of 3DES
Aug 23 2023
Aug 23 2023
It may be better to open a separate issue for the issue in gpg, so that it's not overlooked/forgotten when the issue in gpgtar is fixed.
Aug 23 2023, 10:06 AM · gnupg24 (gnupg-2.4.2), gnupg22 (gnupg-2.2.42), Restricted Project, gpgtar, Bug Report
That is intentional. If we are able to remove a file we do it. Solution for you is easy: gpg .... -o - </dev/null >/dev/null
Aug 23 2023, 10:06 AM · gnupg24 (gnupg-2.4.2), gnupg22 (gnupg-2.2.42), Restricted Project, gpgtar, Bug Report
That is intentional. If we are able to remove a file we do it. Solution for you is easy: gpg .... -o - </dev/null >/dev/null
Aug 23 2023, 9:58 AM · gnupg24 (gnupg-2.4.2), gnupg22 (gnupg-2.2.42), Restricted Project, gpgtar, Bug Report
This looks like the same problem I encountered in Gentoo's Portage. To unlock the binary package signing key, Portage will run the equivalent of gpg --homedir ... --digest-algo ... --local-user ... --output /dev/null /dev/null. If unlocking fails (due to e.g. wrong password), /dev/null is removed: https://bugs.gentoo.org/912808
Aug 23 2023, 9:38 AM · gnupg24 (gnupg-2.4.2), gnupg22 (gnupg-2.2.42), Restricted Project, gpgtar, Bug Report
• werner edited projects for T5401: Imported ECC/Ed25519 subkey has unusable key file in private-keys-v1.d, added: gnupg24; removed gnupg22.
Needs to be checked for 2.4 - no backport to 2.2, though.
• werner edited projects for T4892: gpgsm --gen-key with existing key from "ssh-add" fails, added: gnupg24; removed gnupg22.
Needs to be checked again with stable. No backport to 2..2, though.
• werner removed a project from T2671: "Invalid option" with utf-16 config files (windows): gnupg22.
Won't be backported to 2.2 once we got something in 2.4.
Aug 17 2023
Aug 17 2023
• werner renamed T6647: Finish implementation of --export-secret-ssh-key from 'Invalid public key algorithm' trying to export a ed25519 secret SSH key to Finish implementation of --export-secret-ssh-key.
Sorry, I only now noticed that you used the --export-secret-ssh-key. Unfortunately commit
rGafe5fcda52e88438c7a7278117b2e03f510a9c1c states in the comment:
"Due to time constraints the code is not yet ready." Let's turn this into a feature request.
Aug 3 2023
Aug 3 2023
• aheinecke triaged T6628: Kleopatra: Inform user if revocation of a certification does not happen as Low priority.
I do not find this that important because while users tend to repeat actions to ensure that they are _really_ done (e.g. my nephew always saves games twice to ensure that it really was saved) no real harm is done here.
Aug 2 2023
Aug 2 2023
Aug 1 2023
Aug 1 2023
Dear Werner, have you had any toughts about this ?
Jul 27 2023
Jul 27 2023
Thanks for the pointer! I'll see how I can do what ecdh_param_str_from_pk does in gpgme.
The relevant commit is rGc03ba92576e34f791430ab1c68814ff16c81407b
We had to add the parameters because some keys don't use the default paramters PGP and gpg have used since the introduction of ECC 12 years ago. So yes, we could fallback to the standard parameters but it would bet better if Kleopatra could extract them from the public key (maybe via a GPGME helper).
The relevant logs are
2023-07-27 12:08:01 scdaemon[28156] opgp: ecdh parameters missing 2023-07-27 12:08:01 scdaemon[28156] operation writekey result: Invalid value
Jul 27 2023, 12:14 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
Jul 24 2023
Jul 24 2023
I can't find a missing forward port; need to debug this issue with gpg4win 4.2.0
Jul 24 2023, 11:44 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
Jul 14 2023
Jul 14 2023
yeah, sorry, didn't test different key types yesterday.
NIST encryption keys do not work either, so only RSA encryption keys can be moved with Kleopatra to a smart card in gpg4win 4.2.0.
I can confirm that authentication keys work.
Jul 14 2023, 11:36 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
In T6379#172803, @ebo wrote:Noticed in gpg4win 4.2.0-beta373:
For Brainpool and ed/cv25519 keys it is not possible to move a subkey to a smart card with Kleopatra. The error message is "invalid value".
Moving the main key works, though. The command line works for all keys types, of course.
Jul 13 2023
Jul 13 2023
Noticed in gpg4win 4.2.0-beta373:
Jul 6 2023
Jul 6 2023
Jul 5 2023
Jul 5 2023
• werner added a project to T3927: gpgsm certificate import fails because of hardcoded password length limitation: gnupg24.
Actually it has been fixed for the PBES2 case in 2.2 and 2.4. PBES2 is used with AES128 and AES256. I doubt that there is any value in adding such support for the legacy RC2 and 3DES methods.
Jul 4 2023
Jul 4 2023
• werner moved T6528: gpg: No error status when encrypting to full disk from WiP to QA on the gnupg24 board.
with the new gpg.exe you gave me for testing it looks good now:
No. Missing mapping in iobuf.
• ebo moved T6528: gpg: No error status when encrypting to full disk from QA to WiP on the gnupg24 board.
Jul 3 2023
Jul 3 2023
Jul 3 2023, 2:48 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
gpgrt version?
I get a failure status, but a different one.
Seems to be an other issue? But wasn't (ec=112) disk full?
And the disk of the Windows VM must have been running full with that file, before the start there were ~2,6 GB free:
Jun 29 2023
Jun 29 2023
• werner moved T6536: Extend P12 parser for ShroudedKeyBag inside a CertBag from WiP to QA on the gnupg24 board.
Jun 29 2023, 6:05 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Bug Report, S/MIME, Restricted Project
Jun 28 2023
Jun 28 2023
Partly done for 2.4. The cram-octet-string stuff is missing, though.
Jun 28 2023, 5:33 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Bug Report, S/MIME, Restricted Project
Jun 26 2023
Jun 26 2023
Closing since the problem doesn't seem to occur if the operation is canceled properly.
Sorry about that. I tested an old build which didn't call gpgme_cancel_async and therefore probably didn't properly close the channels. It seems to work if gpgme_cancel_async is called to cancel the operation.
This option is already used. Running pgrep -a gpg in a loop (and ignoring gpg-agent processes) I get:
Mo 26. Jun 11:29:11 CEST 2023 19111 gpgtar --batch --status-fd 60 --gpg-args --no-tty --gpg-args --charset=utf8 --gpg-args --enable-progress-filter --gpg-args --exit-on-status-write-error --gpg-args --display=:0 --gpg-args --ttyname=/dev/pts/37 --gpg-args --ttytype=xterm-256color --decrypt --directory /tmp/kleopatra-JqIiXu/src -- /home/ingo/dev/g10/src.tar.gpg 19112 gpg --batch --status-fd=60 --output - --decrypt --no-tty --charset=utf8 --enable-progress-filter --exit-on-status-write-error --display=:0 --ttyname=/dev/pts/37 --ttytype=xterm-256color -- /home/ingo/dev/g10/src.tar.gpg
Can you please test by adding --exit-on-status-write-error to the gpg invocation by gpgtar?
Jun 23 2023
Jun 23 2023
Jun 23 2023, 10:10 AM · gnupg24 (gnupg-2.4.2), gnupg22 (gnupg-2.2.42), Restricted Project, gpgtar, Bug Report
Jun 22 2023
Jun 22 2023
• werner renamed T6545: Support CRL extension issuingDistributionPoint from Support CRL exension issuingDistributionPoint to Support CRL extension issuingDistributionPoint.
We had one request to support this back in 2017 but it was closed because the respective CA stopped using this extension. See T2039.
• werner moved T6536: Extend P12 parser for ShroudedKeyBag inside a CertBag from Backlog to WiP on the gnupg24 board.
Jun 22 2023, 9:21 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Bug Report, S/MIME, Restricted Project
Jun 19 2023
Jun 19 2023
rGb1ecc8353ae3 is just what I meant, so that we can recommend such an option in the future as a workaround until a new update becomes available which supports such an extension.
Nah, the description for that extension is pretty strict and I won't feel comfortable to just ignore it. BTW there is also T6398 (nameConstraints) which needs support. But for debugging a ignore extension makes sense.
For support reasons I would say that it might make sense to also ignore the extensions from "ignore-cert-extension" when checking CRLs?
Jun 16 2023
Jun 16 2023
• werner triaged T6540: gpgsm creates invalid CSR (invalid signature) when given invalid subject name as Normal priority.
Use Kleopatra which constructs the DN for you ;-).
I tested this with OpenPGP and 2.4.3-beta19 on Windows. Worked nicely.
Jun 16 2023, 2:39 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
Jun 15 2023
Jun 15 2023
• werner moved T6477: WKD redirects and dirmngr redirect rewriting from WiP to QA on the gnupg24 board.
I have now disabled the rewriting in the 2.4 branch. Those who want to keep the old behaviour may add
• werner moved T6477: WKD redirects and dirmngr redirect rewriting from Backlog to WiP on the gnupg24 board.
• werner moved T6534: gpg's progress_filter needs to use uint64_t from WiP to QA on the gnupg24 board.
Jun 15 2023, 11:21 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
And of course we also need to adjust GPGME
Jun 15 2023, 10:58 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
We also need PROGRESS lines in gpgsm.
Jun 15 2023, 10:36 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
Jun 14 2023
Jun 14 2023
• werner added a project to T6536: Extend P12 parser for ShroudedKeyBag inside a CertBag: Bug Report.
Jun 14 2023, 12:39 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Bug Report, S/MIME, Restricted Project
Jun 14 2023, 12:36 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Bug Report, S/MIME, Restricted Project
Jun 13 2023
Jun 13 2023
Thanks, we will take care of this.
Jun 13 2023, 10:07 AM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
Jun 12 2023
Jun 12 2023
Jun 12 2023, 4:23 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
Jun 12 2023, 4:23 PM · gpgme (gpgme 1.23.x), gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.3), Feature Request, Restricted Project, Windows
Jun 9 2023
Jun 9 2023
• werner moved T6528: gpg: No error status when encrypting to full disk from Backlog to QA on the gnupg24 board.
With my fixes I now get this:
Actually two bugs. Easy to test on Unix with a small (e.g. 10MiB partition).
Jun 2 2023
Jun 2 2023
• werner removed a project from T5323: adduid and key expiration oddity in gpg-wks-client: gnupg (gpg23).
May 30 2023
May 30 2023
May 29 2023
May 29 2023
chengr28 added a comment to T6322: The warning "lower 3 bits of the secret key are not cleared" keeps showing even cv25519 key was generated by GnuPG.
And thanks gniibe! I have tested 2.4.1 several times in this month (including existing and new keys), the warning was never shown again.
chengr28 added a comment to T6322: The warning "lower 3 bits of the secret key are not cleared" keeps showing even cv25519 key was generated by GnuPG.
Hi zhangguangzhi, I think that it's version-specific problem.
I traced the chain and this warning message was added in release 2.3.3 T5565.
The problem should be able to reproduce between 2.3.3 and 2.4.0.
zhangguangzhi added a comment to T6322: The warning "lower 3 bits of the secret key are not cleared" keeps showing even cv25519 key was generated by GnuPG.
Hi,i try to reproduce the problem, my platform is linux and gnupg2-2.2.32-3, but i can't find “gpg: warning: lower 3 bits of the secret key are not cleared". Excuse me, is this a platform-specific or version-specific problem, or is it my operation wrong.
May 26 2023
May 26 2023
• werner moved T6421: Improve error message if no reset code (PUK) is set from Backlog to Done on the gpgrt board.
• werner changed the status of T6497: gpgtar does not return failure code to gpgme from Open to Testing.
May 26 2023, 3:57 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, Restricted Project
• werner changed the status of T6135: Agent, P15: Insert Smartcard query uses serial number instead of $DISPSERIALNO from Open to Testing.
May 25 2023
May 25 2023
FWIW: I have not done any tests but the comment below is about the case I suspected to be the cuase for your problem:
See rG0988e49c45 which implements time and group but not yet the split thing because we are not shure that is good idea to have this w/o any implementation support.
• werner lowered the priority of T6504: Adding an ADSK to several keys may fail with Wrong Key Usage. from High to Normal.
There is an easy workaround: Append an exclamation mark to the adsk key. This way gpg will only search for this subkey.
An example with my test keys:
• werner moved T6503: Do not make use of the VirtualStore under Windows from Backlog to QA on the gnupg22 board.
May 24 2023
May 24 2023
• werner moved T6503: Do not make use of the VirtualStore under Windows from Backlog to QA on the gnupg24 board.
mgorny added a comment to T6500: Keyserver access via http-proxy isn't attempted when using standard-resolver.
For the record, we've removed the SRV record for keys.gentoo.org for now, to work around the problem. Without the SRV record, everything works as expected.
May 23 2023
May 23 2023
• werner updated the task description for T6504: Adding an ADSK to several keys may fail with Wrong Key Usage..