diff --git a/src/filestore/mod.rs b/src/filestore/mod.rs index 3b43dac..e7c991b 100644 --- a/src/filestore/mod.rs +++ b/src/filestore/mod.rs @@ -36,7 +36,7 @@ impl FileStore { fn tmpfile(&self) -> PathBuf { let mut tf = self.temp.clone(); - let nonce = textnonce::TextNonce::new(); + let nonce = textnonce::TextNonce::sized_urlsafe(32).unwrap(); tf.push(&nonce.0); tf }