diff --git a/keyfork-derive-openpgp/src/main.rs b/keyfork-derive-openpgp/src/main.rs index ce2a891..ae0ec72 100644 --- a/keyfork-derive-openpgp/src/main.rs +++ b/keyfork-derive-openpgp/src/main.rs @@ -120,7 +120,7 @@ fn main() -> Result<(), Box> { serialize::Marshal, }; - let mut w = Writer::new(std::io::stdout(), Kind::Message)?; + let mut w = Writer::new(std::io::stdout(), Kind::SecretKey)?; for packet in cert.into_packets() { packet.serialize(&mut w)?;