You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We have a requirement where the new subkey is created by the vendor and current subkey is valid until June 1st. I have exported the public.asc file. I do see
1 primary key - flagged as certify.
1 subkey - flagged as encrypt (current - expires june 1st)
1 subkey - flagged as encrypt (new - expires after 2 years)
After exporting the new public key provided by the vendor, the PGP library encrypts with current subkey instead of new one. Is there a functionality where I can specify which subkey to use or use the latest subkey based on date the subkey was created?
The text was updated successfully, but these errors were encountered:
Hi, unfortunately this isn't possible at the moment.
The code that picks the correct key to use at the moment is essentially a fixed hierarchy and doesn't take account of expiry dates.
I'm planning to update this to allow a subkey to be specified by ID as well but haven't started on this yet. Taking account of expiry dates would also be a good option.
Feel free to submit a PR with these changes, otherwise I'll do them when I get a chance.
Hi,
We have a requirement where the new subkey is created by the vendor and current subkey is valid until June 1st. I have exported the public.asc file. I do see
1 primary key - flagged as certify.
1 subkey - flagged as encrypt (current - expires june 1st)
1 subkey - flagged as encrypt (new - expires after 2 years)
After exporting the new public key provided by the vendor, the PGP library encrypts with current subkey instead of new one. Is there a functionality where I can specify which subkey to use or use the latest subkey based on date the subkey was created?
The text was updated successfully, but these errors were encountered: