File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use rustix::fs::CWD;
13
13
use composefs_boot:: { write_boot, BootOps } ;
14
14
15
15
use composefs:: {
16
- fsverity:: { FsVerityHashValue , Sha512HashValue } ,
16
+ fsverity:: { FsVerityHashValue , Sha256HashValue , Sha512HashValue } ,
17
17
repository:: Repository ,
18
18
} ;
19
19
@@ -147,7 +147,7 @@ enum Command {
147
147
} ,
148
148
}
149
149
150
- fn verity_opt ( opt : & Option < String > ) -> Result < Option < Sha512HashValue > > {
150
+ fn verity_opt ( opt : & Option < String > ) -> Result < Option < Sha256HashValue > > {
151
151
Ok ( opt. as_ref ( ) . map ( FsVerityHashValue :: from_hex) . transpose ( ) ?)
152
152
}
153
153
Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ use crate::spec::ImageStatus;
35
35
use crate :: utils:: deployment_fd;
36
36
37
37
/// See https://github.com/containers/composefs-rs/issues/159
38
+ // pub type ComposefsRepository =
39
+ // composefs::repository::Repository<composefs::fsverity::Sha512HashValue>;
38
40
pub type ComposefsRepository =
39
- composefs:: repository:: Repository < composefs:: fsverity:: Sha512HashValue > ;
41
+ composefs:: repository:: Repository < composefs:: fsverity:: Sha256HashValue > ;
40
42
41
43
/// Path to the physical root
42
44
pub const SYSROOT : & str = "sysroot" ;
You can’t perform that action at this time.
0 commit comments