mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
pre-hash sign the kernel image; normal signing for loader image
The loader image uses the original signing method, because changing that would require us to modify the gateware ROM, which is a huge pain in the ass, and doesn't buy us anything. Thus only the kernel signing uses the pre-hash method.
This commit is contained in:
parent
259852c1c6
commit
d49d46ee0d
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
&loader_pkey,
|
||||
matches.is_present("defile"),
|
||||
&minver,
|
||||
false
|
||||
)?;
|
||||
}
|
||||
|
||||
|
|
@ -131,6 +132,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
&kernel_pkey,
|
||||
matches.is_present("defile"),
|
||||
&minver,
|
||||
true,
|
||||
)?;
|
||||
}
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Reference in a new issue