This is an attempt at implementing the signed-yaml specification in Python.
The specification is not complete, so consider this an unfinished work.
Additionally, other than being internally consistent, there has been no outside verification of this code.
Super simple API for now.
syml.Sign(document, private_key_path, private_key_passphrase=None)
document- A YAML document, as a
private_key_path- File path to the private key as PEM
private_key_passphrase- Passphrase for private key, if needed
unicode object of the signed message.
message- A signed YAML message, as
public_key_path- File path to the public key as PEM
None if document does not verify.
unicode document string if it does.