keyfork-derive-openpgp: serialize armored message as Kind::SecretKey

This commit is contained in:
Ryan Heywood 2023-11-01 21:26:46 -05:00
parent f41fd18afb
commit bc5bd8a7b9
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
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)?;