Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit f6f4d64

Browse files
authored
Update the minisign crate to version 0.7 (#678)
1 parent 1f30fb4 commit f6f4d64

5 files changed

Lines changed: 18 additions & 18 deletions

File tree

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lucet-module/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cranelift-entity = "0.77.0"
1515
serde = { version = "1.0", features = ["derive"] }
1616
serde_json = "1.0"
1717
bincode = "1.1.4"
18-
minisign = "0.5.19"
18+
minisign = "0.7.0"
1919
object = "0.22.0"
2020
byteorder = "1.3"
2121
memoffset = "0.5.3"

lucet-module/src/signature.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ impl ModuleSignature {
3535
Cursor::new(&raw_module_and_data.obj_bin),
3636
true,
3737
false,
38+
false,
3839
)
3940
.map_err(ModuleSignatureError)
4041
}
@@ -45,7 +46,6 @@ impl ModuleSignature {
4546
None,
4647
sk,
4748
Cursor::new(&raw_module_and_data.obj_bin),
48-
true,
4949
None,
5050
None,
5151
)

lucetc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ wabt = "0.9.1"
3838
tempfile = "3.0"
3939
bimap = "0.2"
4040
human-size = "0.4"
41-
minisign = "0.5.19"
41+
minisign = "0.7.0"
4242
memoffset = "0.5.1"
4343
serde = "1.0"
4444
serde_json = "1.0"

lucetc/src/signature.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub fn verify_source_code(
8484
signature_box: &SignatureBox,
8585
pk: &PublicKey,
8686
) -> Result<(), Error> {
87-
minisign::verify(pk, signature_box, Cursor::new(buf), false, false)
87+
minisign::verify(pk, signature_box, Cursor::new(buf), false, false, false)
8888
.map_err(|e| Error::Signature(e.to_string()))
8989
}
9090

0 commit comments

Comments
 (0)