Verified Commit 98d0bbf5 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Pin sodiumoxide until we have edition 2021 support

parent f5cbcc6a
......@@ -11,5 +11,4 @@ edition = "2018"
bitflags = "1.2.1"
blake3 = { version = "0.3.6", default_features = false, features = ["rayon"] }
plain = "0.2.3"
sodiumoxide = { version = "0.2.6", default_features = false }
sodiumoxide = { version = "=0.2.6", default_features = false }
......@@ -17,9 +17,8 @@ hex = { version = "0.4.2", features = ["serde"] }
lazy_static = "1.4.0"
seckey = "0.11.2"
serde = { version = "1.0.115", default_features = false, features = ["derive"] }
sodiumoxide = { version = "0.2.6", default_features = false }
sodiumoxide = { version = "=0.2.6", default_features = false }
termion = "1.5.5"
#thiserror = "1.0.20"
toml = "0.5.6"
user-error = "1.2.8"
......@@ -12,7 +12,7 @@ error-chain = "0.12"
plain = "0.2.3"
pkgar-core = { path = "../pkgar-core" }
pkgar-keys = { path = "../pkgar-keys" }
sodiumoxide = { version = "0.2.6", default_features = false }
sodiumoxide = { version = "=0.2.6", default_features = false }
#thiserror = "1.0.20"
user-error = "1.2.8"
......@@ -32,4 +32,3 @@ tempfile = "3.1.0"
[features]
default = ["clap", "std"]
std = []
......@@ -179,7 +179,7 @@ pub fn create(
//TODO: ensure file size matches
header.signature = sign::sign_detached(unsafe { &plain::as_bytes(&header)[64..] }, &secret_key).to_bytes();
header.signature = sign::sign_detached(unsafe { &plain::as_bytes(&header)[64..] }, &secret_key).0;
// Write archive header
archive_file.seek(SeekFrom::Start(0))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment