summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-09-09 15:30:51 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-09-09 17:00:59 +0200
commit95dae32c90bbd61d649df9c4b0ef980a1c05a937 (patch)
tree10bc12c7e20146f3cb28df3e14e7db282b65818f /net
parentb111fc045507b869fac2f42cc7da323610afe911 (diff)
net: Strip local signatures when creating WKD.
Diffstat (limited to 'net')
-rw-r--r--net/src/wkd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/src/wkd.rs b/net/src/wkd.rs
index ef352a42..3e18532a 100644
--- a/net/src/wkd.rs
+++ b/net/src/wkd.rs
@@ -339,7 +339,7 @@ pub fn insert<P, S, T>(base_path: P, domain: S, direct_method: T,
fs::create_dir_all(path.parent().expect("by construction"))?;
// XXX: Update keyring, don't merely replace it!
let mut file = fs::File::create(&path)?;
- tpk.serialize(&mut file)?;
+ tpk.export(&mut file)?;
}
Ok(())