keyfork-derive-openpgp: serialize armored message as Kind::SecretKey
This commit is contained in:
parent
f41fd18afb
commit
bc5bd8a7b9
|
@ -120,7 +120,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
serialize::Marshal,
|
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() {
|
for packet in cert.into_packets() {
|
||||||
packet.serialize(&mut w)?;
|
packet.serialize(&mut w)?;
|
||||||
|
|
Loading…
Reference in New Issue