diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-10-06 14:54:09 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-10-06 14:56:16 +0200 |
commit | 2ca9d69f761771f5440dccf66f9b3cf1c951b74f (patch) | |
tree | 8b751ac60f60361a487aaf2d7a716f52e6457336 /sop/src | |
parent | e980facce477e7bbe5de5d5e970124a9203c0004 (diff) |
sop: Fix armor kind when extracting certificates.
Diffstat (limited to 'sop/src')
-rw-r--r-- | sop/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sop/src/main.rs b/sop/src/main.rs index 37f28d06..95390fa4 100644 --- a/sop/src/main.rs +++ b/sop/src/main.rs @@ -85,7 +85,7 @@ fn real_main() -> Result<()> { SOP::ExtractCert { no_armor, } => { let cert = Cert::from_reader(&mut io::stdin())?; - let mut sink = stdout(no_armor, armor::Kind::SecretKey)?; + let mut sink = stdout(no_armor, armor::Kind::PublicKey)?; cert.serialize(&mut sink)?; sink.finalize()?; }, |