-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I'm trying to cook up a smartcard-using service that would certify incoming public keys by signing specific user IDs in a specific manner (by adding notations).
I've been looking at pysequoia as a potential solution, because so far, the only thing that did let me do that painlessly was pgpy, which doesn't do smartcards at all. Interjecting inside it to hijack the actual signing function is problematic, assuming I can even find a suitable smartcard library in the first place.
Unfortunately, due to pysequoia being written entirely in Rust, I can't even tell if there's a way for me to sign a user ID with, well, anything, and the extant documentation isn't sufficiently detailed. It describes adding notations to a user ID, but not signing them.
Is this possible with pysequoia at all, or should I look for something else?