Page MenuHome GnuPG
Feed Advanced Search

Aug 8 2023

svuorela added a comment to T6633: GPGME: Add API for extended key usage flags like nonRepudation.

The poppler api exposes it. Has done it since more or less the incarnation of pdf signing in poppler I think.

Aug 8 2023, 12:02 PM · gpd5x, gpgme, okular
werner added a comment to T6633: GPGME: Add API for extended key usage flags like nonRepudation.

Don't do that. The key usage extensions rarely useful. This is the usual X.509 DbC (design by commitee) mess. See for example https://www.cs.auckland.ac.nz/~pgut001/pubs/x509guide.txt . Let's not try to follow this path.

Aug 8 2023, 11:57 AM · gpd5x, gpgme, okular

Aug 4 2023

svuorela added a comment to T6633: GPGME: Add API for extended key usage flags like nonRepudation.

The poppler API exposes key usage extensions, and I'm trying to reconstruct them from the canX flags, which of course is highly inaccurate.

Aug 4 2023, 10:59 AM · gpd5x, gpgme, okular
ikloecker added a comment to T6633: GPGME: Add API for extended key usage flags like nonRepudation.

Technically, the canX are already checking a flag internally because _gpgme_key stores the can_X values as single bits. There are still 17 unused bits in _gpgme_key, i.e. there's plenty of space for more flags like can_haz_cheezeburger.

Aug 4 2023, 9:31 AM · gpd5x, gpgme, okular
aheinecke renamed T6633: GPGME: Add API for extended key usage flags like nonRepudation from GPGME: Add API for extended key usage flags aka nonRepudation to GPGME: Add API for extended key usage flags like nonRepudation.
Aug 4 2023, 8:04 AM · gpd5x, gpgme, okular
aheinecke removed a subtask for T6632: Okular: Highlight / preselect "nonRepudiation" certificates for qualified signatures: T6633: GPGME: Add API for extended key usage flags like nonRepudation.
Aug 4 2023, 7:58 AM · test on hold, gpd5x, okular
aheinecke removed a parent task for T6633: GPGME: Add API for extended key usage flags like nonRepudation: T6632: Okular: Highlight / preselect "nonRepudiation" certificates for qualified signatures.
Aug 4 2023, 7:58 AM · gpd5x, gpgme, okular
aheinecke assigned T6633: GPGME: Add API for extended key usage flags like nonRepudation to werner.

OK, still the whole usage stuff screams for a flag style api IMO. With all the canX then reduced to checking for the according flags internally.
@werner I am assigning this to you for triage. Basically set it to wontfix or whishlist if you think it would be worthwhile or not for future canHazCheezeburger things

Aug 4 2023, 7:58 AM · gpd5x, gpgme, okular

Aug 3 2023

werner added a comment to T6632: Okular: Highlight / preselect "nonRepudiation" certificates for qualified signatures.

Use the is_qualified flag to figure out QES certificates. This is more than just a capability flag.

Aug 3 2023, 8:55 PM · test on hold, gpd5x, okular
werner added a comment to T6633: GPGME: Add API for extended key usage flags like nonRepudation.

NonRepudiation is not a well defined term. It is used by X.509 but often used similar to a digital signature. Thus this does not make sense. The is_qualified flag is what we need for QeS and it seems we already got this in gpgme.

Aug 3 2023, 8:54 PM · gpd5x, gpgme, okular
aheinecke triaged T6633: GPGME: Add API for extended key usage flags like nonRepudation as Normal priority.
Aug 3 2023, 4:41 PM · gpd5x, gpgme, okular
svuorela added a comment to T6632: Okular: Highlight / preselect "nonRepudiation" certificates for qualified signatures.

gpgme puts digitalSignature and norRepudiation into canSign. We need them separated at the sources (maybe exposing keyUsage directly in gpgme. That would also make the code in poppler better and more accurate. I'm trying to reconstruct the keyUsages from the canSign&friends functions.

Aug 3 2023, 4:25 PM · test on hold, gpd5x, okular
aheinecke triaged T6632: Okular: Highlight / preselect "nonRepudiation" certificates for qualified signatures as Normal priority.
Aug 3 2023, 3:07 PM · test on hold, gpd5x, okular

Jul 25 2023

aheinecke assigned T6613: Okular: filename suggestion unsuitable to svuorela.
Jul 25 2023, 9:09 AM · okular, Restricted Project

Jul 24 2023

ebo created T6613: Okular: filename suggestion unsuitable.
Jul 24 2023, 3:59 PM · okular, Restricted Project
ebo closed T6517: Update AppImage and include Okular as Resolved.

signing works, too

Jul 24 2023, 3:33 PM · AppImage, okular, kleopatra, Restricted Project

Jul 13 2023

aheinecke triaged T6594: Okular: Proper about data customization as Normal priority.
Jul 13 2023, 2:59 PM · Restricted Project, okular

Jul 5 2023

ikloecker changed the status of T6517: Update AppImage and include Okular from Open to Testing.

Ready for testing. I could view a signed PDF and verify the signature with the gpg backend, but other things may not work because of missing dependencies.

Jul 5 2023, 5:51 PM · AppImage, okular, kleopatra, Restricted Project

Jun 5 2023

ikloecker claimed T6517: Update AppImage and include Okular.
Jun 5 2023, 10:59 AM · AppImage, okular, kleopatra, Restricted Project
ikloecker triaged T6517: Update AppImage and include Okular as Normal priority.
Jun 5 2023, 10:59 AM · AppImage, okular, kleopatra, Restricted Project

Feb 24 2023

werner created okular.
Feb 24 2023, 12:03 PM