Comments (1)
Good day.
Good catch. It's clearly wrong. Additionally memcmp should compare using the length of the hash, not the plaint text password.
This example is incomplete, I've had one use case where the entire RPMB was 'sacrificed' to store the password hash. This example is related to that implementation, but since the code needed to setup RPMB is not part of the example, it's close to useless.
I'm going to remove this code block and add some input sanitation in the command parser. I'm leaving this issue open for now.
Thanks/Jonas
from punchboot.
Related Issues (16)
- Support signing through Openssl/PKCS11
- Question: Is it possible to support ARM architecture, OS and board independent functionality? HOT 1
- Question: FriendlyARM NEO
- Wrong function return type HOT 2
- Question: Is it possible to use PunchBoot for i.MX 6UL EVK? HOT 1
- build fails with a fatal error: config.h: No such file or directory HOT 2
- Add documentation on rollback logic
- Document device identity/UUID
- STM32MP1 Support HOT 1
- Describe A/B software update logic
- Allow for custom VID/PID
- Recovery mode timeout if USB does not enumerate
- Authentication for recovery mode when in 'secured' state
- Various comments HOT 1
- punchboot CLI confirm input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from punchboot.