uselesskey-pgp-native
Adapters from uselesskey OpenPGP fixtures to native pgp crate types.
Feature support
| Feature | Source artifact | Native output |
|---|---|---|
pgp-native |
PgpKeyPair |
SignedSecretKey, SignedPublicKey |
Example
use Factory;
use ;
use PgpNativeExt;
let fx = random;
let keypair = fx.pgp;
let secret = keypair.secret_key_armor;
let public = keypair.public_key_armor;
assert_eq!;
println!;
Tests
- one smoke test that parses binary and armored fixture values
- one integration-style assertion test for deterministic conversion in an external path
License
Licensed under either of Apache License, Version 2.0 or MIT license, at your option.