Skip to content

Commit

Permalink
Re-enable applet version rollback check (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter authored Mar 22, 2024
1 parent c2b5252 commit 8c0b611
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions trusted_os/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ type RPC struct {

// Version receives the Trusted Applet version for verification.
func (r *RPC) Version(version string, _ *bool) error {
// TODO: disable for now
return nil
if !imx6ul.Native || !imx6ul.SNVS.Available() {
log.Print("SM skipping applet version verification")
return nil
}

log.Printf("SM applet version verification (%s)", version)

Expand Down

0 comments on commit 8c0b611

Please sign in to comment.