mattosaurus / PgpCore

.NET Core class library for using PGP
MIT License
244 stars 98 forks source link

Rework to support usage of encryption subkeys #247

Closed Liam-Rougoor closed 1 year ago

Liam-Rougoor commented 1 year ago

238 (partly)

So, I've changed how public keys are managed in EncryptionKeys and how they are used in Encryption and some Verification in PGP.

Summary of the main changes in this PR:

I think more improvements can be made regarding the handling of public keys, but I think this PR could give an indication of a possible direction.

mattosaurus commented 1 year ago

This is looking good. Do we also want to extend it to setting the preferred signing and verification keys?

Liam-Rougoor commented 1 year ago

This is looking good. Do we also want to extend it to setting the preferred signing and verification keys?

That sounds like a good idea. Perhaps something we could implement in a separate PR?

mattosaurus commented 1 year ago

Sure, happy for this to be done in a separate PR.