Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
The API is capable of way more though, such as symmetric encryption using a passphrase, creating signatures on other users' certificates, modifying keys (adding user-ids and subkeys, changing passphrases, revoking, and expiring keys and user-ids...), and so on. There is an example package that demonstrates many of those use cases.
That's why I decided to create PGPainless. Originally, I was looking for other alternatives and stumbled across a library called bouncy-gpg, but I quickly figured that it was not suiting my needs and decided to go my own way. Nevertheless, bouncy-gpg heavily influenced PGPainless' development, especially in the early phases.
PGPainless provides both a programmatic adaption of this API, as well as a CLI app. This means that if your app needs to do basic OpenPGP operations, you can simply depend on a module called sop-java which defines the programmatic SOP interface (here is a guide). This interface can be implemented by any OpenPGP library, but PGPainless provides its own implementation through the module pgpainless-sop. That way you can benefit from a super simple-to-use OpenPGP API while not being locked in to use PGPainless.
Related posts
-
Bouncy Castle VS pgpainless - a user suggested alternative
2 projects | 12 Aug 2022
- GpgFrontend: Open-source, Cross-platform GnuPG Front end
- My PGP/GPG Public Keys
- Java implementation of a quantum computing resistant cryptographic algorithm
- Scripts to automate Yubikey provisioning. They set up your yubikey for you so you don't have to!