Page MenuHome GnuPG
Feed All Stories

Jan 16 2020

werner closed T4809: Non-operational functions and missing feature as Resolved.
Jan 16 2020, 8:50 AM · Fedora, pinentry, Bug Report
gniibe raised the priority of T3416: gpg should select available signing key on card (even with -u option) from Normal to High.
Jan 16 2020, 5:43 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T3416: gpg should select available signing key on card (even with -u option).

With new "KEYINFO" command of scdaemon, finally, we can move on to support better selection of signing key.
(Note: having a private key on multiple cards had already been solved in T4301: Handling multiple subkeys on two SmartCards.)

Jan 16 2020, 5:40 AM · Restricted Project, Feature Request, gnupg
gniibe added a project to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)): Restricted Project.
Jan 16 2020, 5:29 AM · Restricted Project, Feature Request, gnupg
gniibe changed the status of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)) from Open to Testing.

In master, it has been implemented.

Jan 16 2020, 5:29 AM · Restricted Project, Feature Request, gnupg
gniibe changed the status of T4695: Remove SERIALNO as an identifier to select keys, a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), from Open to Testing.
Jan 16 2020, 5:25 AM · Restricted Project, Feature Request, gnupg
gniibe changed the status of T4695: Remove SERIALNO as an identifier to select keys from Open to Testing.
Jan 16 2020, 5:25 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

The first "SCD SERIALNO" command let scdaemon re-scan smartcards/tokens.

Jan 16 2020, 5:24 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

With new "KEYINFO" command in scdaemon, a list of card keys can be retrieved by:

Jan 16 2020, 5:22 AM · Restricted Project, Feature Request, gnupg
gniibe closed T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID as Resolved.
Jan 16 2020, 5:17 AM · scd, Feature Request, gnupg
gniibe closed T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID, a subtask of T4695: Remove SERIALNO as an identifier to select keys, as Resolved.
Jan 16 2020, 5:17 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

There is no use cases for $SIGNKEYID.

Jan 16 2020, 5:16 AM · scd, Feature Request, gnupg
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

$ENCRKEYID use case have been removed.

Jan 16 2020, 5:14 AM · scd, Feature Request, gnupg
gniibe committed rG8edd4b8b8cdc: gpg: Use "SCD KEYINFO" to get available card keys. (authored by gniibe).
gpg: Use "SCD KEYINFO" to get available card keys.
Jan 16 2020, 5:10 AM
gniibe committed rG8240a70c31a8: gpg: Add agent_scd_keyinfo to retrieve available card keys. (authored by gniibe).
gpg: Add agent_scd_keyinfo to retrieve available card keys.
Jan 16 2020, 5:10 AM
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..

Fixed and backported.

Jan 16 2020, 5:04 AM · Restricted Project, gnupg (gpg22)
gniibe committed rGa7840777e427: gpg: default-key: Simply don't limit by capability. (authored by gniibe).
gpg: default-key: Simply don't limit by capability.
Jan 16 2020, 2:32 AM
gniibe committed rG1aa2a0a46dc1: gpg: default-key: Simply don't limit by capability. (authored by gniibe).
gpg: default-key: Simply don't limit by capability.
Jan 16 2020, 2:31 AM

Jan 15 2020

Rycky_Tigg added a comment to T4809: Non-operational functions and missing feature.

You may.. Comments were relevant. Bye.

Jan 15 2020, 2:42 PM · Fedora, pinentry, Bug Report
werner added a comment to T4809: Non-operational functions and missing feature.

FWIW, the GTK and QT pinentries do have a qualitybar. However is is only enabled:

Jan 15 2020, 9:39 AM · Fedora, pinentry, Bug Report
werner added a comment to T4810: A key with only "C" capability cannot be selected as default key..

I agree.

Jan 15 2020, 9:29 AM · Restricted Project, gnupg (gpg22)
werner created T4811: --locate-key should try to fetch a key if the local copy is expired..
Jan 15 2020, 9:25 AM · Bug Report, gnupg (gpg22)
Laurent Montel <montel@kde.org> committed rKLEOPATRAab73a2e20439: GIT_SILENT: Prepare 5.13.2 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.13.2
Jan 15 2020, 8:12 AM
Laurent Montel <montel@kde.org> committed rLIBKLEO2fc5e5b73b7d: GIT_SILENT: Prepare 5.13.2 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.13.2
Jan 15 2020, 7:55 AM
gniibe committed rG6e4f7fe26ea9: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Jan 15 2020, 7:52 AM
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..

Err.. Just removing the check may be the correct fix; It doesn't make sense to limit capability here.

Jan 15 2020, 7:41 AM · Restricted Project, gnupg (gpg22)
gniibe committed rG9287f9e87b21: gpg: Cert only key should be usable with --default-key. (authored by gniibe).
gpg: Cert only key should be usable with --default-key.
Jan 15 2020, 6:33 AM

Jan 14 2020

JW-D added a comment to T4802: Yubikey not recognized.

At least one configuration error I could identify by myself: Kleopartra -> GnuPG-System -> Smartcard -> Connecting Reader with port N. If it is written: Yubico YubiKey OTP+FIDO+CCID 0 then Yubikey is recognized. I forgot to write "Yubico Yubikey" at the beginning and the "0" at the end. Now smart cards and Yubikeys are working for gpg. What is still a problem is SSH. A SSH key is on smart card or the Yubikey.

Jan 14 2020, 8:38 PM · Bug Report, gpg4win
james added a comment to T4807: Mime Compatibility with Symantec PGP.

The base64 for the version is not needed. I rebuilt and did a test for that. I was testing with Outlook 2016 to Outlook.com to another exchange server. One of the servers in the chain is converting the mime parts to base64.
The MAPI headers in gpgol are causing the auto-decryption of Symantec to stop checking for the MIME attachments. On internal emails the MAPI format is retained and that causes an issue with the symantec client. When they leave the exchange server the base MIME format is what is sent and that works with the Symantec client.

Jan 14 2020, 5:50 PM · gpgol, Feature Request
dkg added a comment to T4809: Non-operational functions and missing feature.

In T4809#131931, @werner wrote:

BTW, the qualitybar is not shown by default, only if you configure sme of the extra password checks. We may even remove it completely because it leads to wrong assumption on why a passphrase is required.

Jan 14 2020, 3:30 PM · Fedora, pinentry, Bug Report
dkg added a comment to T4809: Non-operational functions and missing feature.

@Rycky_Tigg cases 1, 2, and 3 that you document here each show the behavior that i would expect from pinentry-gnome3, given the definition of its Assuan-based API and its use of gcr-prompter. (i'm assuming that in case 3 the user just waited longer than the allowed timeout)

Jan 14 2020, 3:29 PM · Fedora, pinentry, Bug Report
ringelkrat added a comment to T4726: auto-key-locate only works with raw e-mail addresses (not angle-brackets).

Thank you for resolving this issue! I am successfully using version 2.2.19 from the gnupg (2.2.19-1~bpo10+1) package of Debian Backports.

Jan 14 2020, 11:47 AM · gnupg (gpg22), wkd, Bug Report
Rycky_Tigg added a comment to T4809: Non-operational functions and missing feature.

"more specific about what you think is wrong"; From https://bugs.kde.org/show_bug.cgi?id=412569 copied)/pasted:

Jan 14 2020, 11:34 AM · Fedora, pinentry, Bug Report
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..

I think rGe573e6188dad: gpg: Fix --default-key checks. should be fixed as:

diff --git a/g10/getkey.c b/g10/getkey.c
index ad5dd8e01..cc908964e 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1860,7 +1860,8 @@ parse_def_secret_key (ctrl_t ctrl)
           PKT_public_key *pk = node->pkt->pkt.public_key;
Jan 14 2020, 8:28 AM · Restricted Project, gnupg (gpg22)
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..
$ export GNUPGHOME=<somewhere>
# Create a key with "C"-only capability
$ gpg --quick-gen-key "test-user <chuji@gniibe.org>" ed25519 cert
# Create another key (or get/import it)
$ gpg --quick-gen-key "2020-user <chuji2020@gniibe.org>" ed25519
# Sign with the first key to the second key with --default-key
$ gpg --default-key 7694AB44DED1154CEB981059B0B36418AF85C918 --lsign 72FF31542DB059A507BAF81BE05523DEB4B018E6

(where 7694AB...85C918 is the first key and 72FF31..B018E6 is the second key)

Jan 14 2020, 8:03 AM · Restricted Project, gnupg (gpg22)
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..

rGe573e6188dad: gpg: Fix --default-key checks. is suspicious.

Jan 14 2020, 7:39 AM · Restricted Project, gnupg (gpg22)
gniibe created T4810: A key with only "C" capability cannot be selected as default key..
Jan 14 2020, 7:38 AM · Restricted Project, gnupg (gpg22)
werner added a comment to T4809: Non-operational functions and missing feature.

BTW, the qualitybar is not shown by default, only if you configure sme of the extra password checks. We may even remove it completely because it leads to wrong assumption on why a passphrase is required.

Jan 14 2020, 7:34 AM · Fedora, pinentry, Bug Report
dkg added a comment to T4809: Non-operational functions and missing feature.

pinentry-gnome uses gcr's gcr_prompt_set_password_new to prompt for a new password, and ignores the SETQUALITYBAR assuan command.

Jan 14 2020, 12:12 AM · Fedora, pinentry, Bug Report

Jan 13 2020

werner added a comment to T4809: Non-operational functions and missing feature.

It seems that gnome-keyring-daemon has some incompatible changes which breaks that version of pinentry-gnome. Or GKR has not been setup properly. I'd suggest to use pinentry-gtk until folks with knowledge about Gnome folks have figured out what is going wrong.

Jan 13 2020, 7:42 PM · Fedora, pinentry, Bug Report
Rycky_Tigg added a comment to T4809: Non-operational functions and missing feature.

Hey. As reference – Complete set of features while run in Windows.

Jan 13 2020, 6:32 PM · Fedora, pinentry, Bug Report
werner changed the status of T4791: Switch between PIV and OpenPGP app w/o reentering the PIN from Open to Testing.
Jan 13 2020, 6:24 PM · scd, yubikey
werner committed rG2dd6b4b998dd: scd: Make the PIN cache robust against wrongdoing of gpg-agent. (authored by werner).
scd: Make the PIN cache robust against wrongdoing of gpg-agent.
Jan 13 2020, 6:24 PM
werner committed rG60502c3606ee: scd:piv: Implement PIN cache. (authored by werner).
scd:piv: Implement PIN cache.
Jan 13 2020, 6:24 PM
werner added a comment to T4809: Non-operational functions and missing feature.

Please describe which features are missing.

Jan 13 2020, 4:53 PM · Fedora, pinentry, Bug Report
werner added a comment to T4791: Switch between PIV and OpenPGP app w/o reentering the PIN.

Caching of the OpenPGP PIN while switching to and from PIV does now work in master

Jan 13 2020, 4:48 PM · scd, yubikey
werner committed rG2e86cca7f418: agent: Avoid multiple calls to scd for KEYINFO. (authored by werner).
agent: Avoid multiple calls to scd for KEYINFO.
Jan 13 2020, 4:28 PM
werner committed rGaaef0fc3a743: agent: Replace free by xfree in recently added code. (authored by werner).
agent: Replace free by xfree in recently added code.
Jan 13 2020, 3:23 PM
Rycky_Tigg created T4809: Non-operational functions and missing feature.
Jan 13 2020, 3:22 PM · Fedora, pinentry, Bug Report
werner committed rG14aa797bb8f3: gpg,sm: Avoid useless ASFW diagnostic in loopback mode. (authored by werner).
gpg,sm: Avoid useless ASFW diagnostic in loopback mode.
Jan 13 2020, 3:21 PM
susedv changed Version from 3.1.10 to 3.1.11 on T4804: GpgOL: unable to categorize or follow-up an encrypted eMail.
Jan 13 2020, 12:38 PM · gpgol, Bug Report, gpg4win
werner committed rG2b843be5ac9f: scd: Fix memory leak in command READKEY. (authored by werner).
scd: Fix memory leak in command READKEY.
Jan 13 2020, 12:19 PM
werner committed rG0e48aa084921: scd: Make SERIALNO --all work correctly and use it. (authored by werner).
scd: Make SERIALNO --all work correctly and use it.
Jan 13 2020, 12:19 PM
aheinecke created T4808: gnupg, scd: Status notifications to Applications.
Jan 13 2020, 11:22 AM · scd, gpgagent
werner committed rDd51cd2013e66: web: Add warning notes to most HOWTOS. (authored by werner).
web: Add warning notes to most HOWTOS.
Jan 13 2020, 10:00 AM
werner added a comment to T4807: Mime Compatibility with Symantec PGP.

Using base64 encoding for a fixed format part in us-ascii is not a good idea because in practise many PGP/MIME decoders won't be able to detect and then decyrypt such a message.

Jan 13 2020, 9:14 AM · gpgol, Feature Request
gniibe committed rGc31266716dd6: agent: Extend agent_card_getattr with KEYGRIP. (authored by gniibe).
agent: Extend agent_card_getattr with KEYGRIP.
Jan 13 2020, 9:09 AM
gniibe committed rG15028627a165: agent: handle SSH operation by KEYGRIP. (authored by gniibe).
agent: handle SSH operation by KEYGRIP.
Jan 13 2020, 9:09 AM
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

$AUTHKEYID use cases have been removed.

Jan 13 2020, 8:53 AM · scd, Feature Request, gnupg

Jan 12 2020

JW-D added a comment to T4802: Yubikey not recognized.

Werner, no silly questions exist, only silly answers are existing. However, Yubikey is enabled for usb. I using Yubikey Manager a GUI, for the USB interface it is enabled: OTP, FIDO, FIDO U2F, OpenPGP, PIV and OATH. Thanks also for the suggested command line test. Indeed an error code shows up:

Jan 12 2020, 3:56 PM · Bug Report, gpg4win
james created T4807: Mime Compatibility with Symantec PGP.
Jan 12 2020, 5:28 AM · gpgol, Feature Request

Jan 11 2020

werner closed T4806: File decrypts without password as Resolved.

It is a feature not a bug. For symmetric encryption the gpg-agent remembers the passphrase used for the encryption and thus for some time or until /gpgconf --reload gpg-agent/ it tries that passphrase for decryption.

Jan 11 2020, 10:19 AM · Not A Bug

Jan 10 2020

indahud created T4806: File decrypts without password.
Jan 10 2020, 10:12 PM · Not A Bug
whites11 added a comment to T1756: gpg-agent doesn't accept ssh certificates.

I am wondering if there is any workaround or work in progress about this old ticket.
I understand this is kind of an edge case, but having the possibility to use signed ssh keys would be very useful to me.

Jan 10 2020, 2:37 PM · gnupg, Feature Request
aheinecke committed rP971d1365ab16: qt: Add rpath so the Qt libs are found at runtime (authored by David Faure <faure@kde.org>).
qt: Add rpath so the Qt libs are found at runtime
Jan 10 2020, 1:11 PM
susedv updated the task description for T4804: GpgOL: unable to categorize or follow-up an encrypted eMail.
Jan 10 2020, 12:48 PM · gpgol, Bug Report, gpg4win
susedv updated the task description for T4805: Content conversion: Invalid S/MIME encrypted message..
Jan 10 2020, 12:48 PM · gpgol, Bug Report, gpg4win
susedv updated the task description for T4805: Content conversion: Invalid S/MIME encrypted message..
Jan 10 2020, 12:24 PM · gpgol, Bug Report, gpg4win
susedv updated the task description for T4805: Content conversion: Invalid S/MIME encrypted message..
Jan 10 2020, 12:22 PM · gpgol, Bug Report, gpg4win
susedv created T4805: Content conversion: Invalid S/MIME encrypted message..
Jan 10 2020, 10:38 AM · gpgol, Bug Report, gpg4win
susedv created T4804: GpgOL: unable to categorize or follow-up an encrypted eMail.
Jan 10 2020, 10:08 AM · gpgol, Bug Report, gpg4win
gniibe committed rG0cfded4bb148: scd: Implement direct access by KEYGRIP for GETATTR and READKEY. (authored by gniibe).
scd: Implement direct access by KEYGRIP for GETATTR and READKEY.
Jan 10 2020, 8:02 AM

Jan 9 2020

werner added a comment to T4802: Yubikey not recognized.

Maybe a silly question, but let's be sure: Is the Openpgp app enabled on that Yubikey and is it enabled for usb? I can't remember the Yubikey commands on how to check this but tehre should even be a GUI. These days I use the new gpg-card tool to manage my Yubikeys (from GnuPG master).

Jan 9 2020, 9:53 PM · Bug Report, gpg4win
JW-D added a comment to T4802: Yubikey not recognized.

Please, note the following uncommon behavior:

Jan 9 2020, 9:30 PM · Bug Report, gpg4win
werner created T4803: Print a diagnostic for a missing encryption subkey.
Jan 9 2020, 2:34 PM · Feature Request, OpenPGP, gnupg
Laurent Montel <montel@kde.org> committed rLIBKLEO66939d1573b1: GIT_SILENT: Prepare 5.13.2 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.13.2
Jan 9 2020, 1:20 PM
aheinecke added a comment to T4802: Yubikey not recognized.

I'll keep this on needs triage because I don't know what the issue could be. I have a yubikey 5 at hand and just tested it with Gpg4win 3.1.11. It works without problems.

Jan 9 2020, 12:35 PM · Bug Report, gpg4win
werner committed rG63bda3aad8ec: scd:openpgp: Implement PIN cache. (authored by werner).
scd:openpgp: Implement PIN cache.
Jan 9 2020, 12:15 PM
werner committed rGce5a7fb72b59: scd: Use a scdaemon internal key to protect the PIN cache IPC. (authored by werner).
scd: Use a scdaemon internal key to protect the PIN cache IPC.
Jan 9 2020, 12:15 PM
gniibe committed rG57b8ed61ab93: agent: SSH: SCD KEYINFO to list available keys. (authored by gniibe).
agent: SSH: SCD KEYINFO to list available keys.
Jan 9 2020, 4:01 AM

Jan 8 2020

JW-D created T4802: Yubikey not recognized.
Jan 8 2020, 7:27 PM · Bug Report, gpg4win
hfalk committed rW1e669fea7cfc: po: Improve german translation (authored by hfalk).
po: Improve german translation
Jan 8 2020, 2:46 PM
hfalk committed rWdcef845ef56e: doc: Add german compendium contents to manual (authored by hfalk).
doc: Add german compendium contents to manual
Jan 8 2020, 2:46 PM
aheinecke claimed T4796: GpgOL should hide "legacy display" parts when it encounters them.

note that it *does* sometimes hide the legacy display part, for some messages, including unfortunately-complex -- that's good! -- but maybe this points to some internal inconsistency:

Jan 8 2020, 2:00 PM · gpgol, Bug Report, gpg4win
hudson added a comment to T4801: libksba reproducible builds.

Sorting the table is a good idea for reproducibility, since otherwise the tree depends on the order of the arguments to asn1-gentables, which are generated with a wildcard expansion that might be shell or file system dependent.

Jan 8 2020, 1:45 PM · libksba, Bug Report
werner closed T4799: Update kbxutil documentation to reflect OpenPGP usage as Resolved.

I removed the footnote form the 2.2 branch. Thanks.

Jan 8 2020, 1:33 PM
werner committed rGb966d0583779: doc: Removed the footnote that OpenPGP is not used with the keybox (authored by werner).
doc: Removed the footnote that OpenPGP is not used with the keybox
Jan 8 2020, 1:33 PM
werner triaged T4801: libksba reproducible builds as Normal priority.

Frankly, I am not sure why we sort that table at all. Your patch does not harm, though.

Jan 8 2020, 1:26 PM · libksba, Bug Report
aheinecke committed rKLEOPATRA5a8b9e2d28a8: Replace last kdlogtextwidget by QTextEdit (authored by aheinecke).
Replace last kdlogtextwidget by QTextEdit
Jan 8 2020, 1:18 PM
aheinecke committed rWcf7d64f39c78: doc: Add a first framework for an updated german doc (authored by aheinecke).
doc: Add a first framework for an updated german doc
Jan 8 2020, 11:45 AM
aheinecke committed rWcc3a43a070e8: doc: Commit latest version of .org compendium (authored by aheinecke).
doc: Commit latest version of .org compendium
Jan 8 2020, 11:45 AM
aheinecke committed rWba3d3af83404: doc: Add gfdl in org mode (authored by aheinecke).
doc: Add gfdl in org mode
Jan 8 2020, 11:45 AM
aheinecke committed rW3ce27cf1f854: doc: Fix syntax in english org compendium (authored by aheinecke).
doc: Fix syntax in english org compendium
Jan 8 2020, 11:45 AM
aheinecke committed rW1ee28aab489c: Add toplevel msi target (authored by aheinecke).
Add toplevel msi target
Jan 8 2020, 11:45 AM
aheinecke committed rW9af513700dd3: Revert "Revert "Convert the English compendium to org-mode"" (authored by aheinecke).
Revert "Revert "Convert the English compendium to org-mode""
Jan 8 2020, 11:45 AM
aheinecke added a reverting change for rW851f92b97ebf: Revert "Convert the English compendium to org-mode": rW9af513700dd3: Revert "Revert "Convert the English compendium to org-mode"".
Jan 8 2020, 11:45 AM
werner added a comment to T4755: WoT forgeries using SHA-1.

FWIW, the second listed commit is the right one. You should only look at the STABLE-STABLE-2-2 branch. master and that branch differ; in particular we do not have a cut-off date in master (to be 2.3).

Jan 8 2020, 10:52 AM · CVE, gnupg
werner set External Link to https://sha-mbles.github.io/ on T4755: WoT forgeries using SHA-1.
Jan 8 2020, 10:34 AM · CVE, gnupg
hudson created T4801: libksba reproducible builds.
Jan 8 2020, 10:05 AM · libksba, Bug Report
werner added a comment to rEa2674207f7fe: build: Don't use -O0 which is not portable..

No need to support it. What I had in mind was the compilation of tiger.c where we replace optimization flags by -O1 which, as you remarked, seems to b widely portable.

Jan 8 2020, 8:30 AM