I use a Stateless OpenPGP implementation in a few of my hobby programs. The SOP interface is nice to use programmatically, but there's always details to get right. To make this easier for myself, I've started working on a Rust library for this. I'm trying to make use of the Rust type system so that it's impossible to invoke a SOP implementation in the wrong way.
Might be useful for others?
https://www.ietf.org/archive/id/draft-dkg-openpgp-stateless-cli-12.html
https://crates.io/crates/rsop
Stateless OpenPGP Command Line Interface
This document defines a generic stateless command-line interface for dealing with OpenPGP messages, certificates, and secret key material, known as sop . It aims for a minimal, well-structured API covering OpenPGP object security and maintenance of credentials and secrets.








