Verified Commit cd648a8b authored by Vojtech Myslivec's avatar Vojtech Myslivec 🚀

Add cached Omnia file-challenge-response command

parent 2eb88448
......@@ -197,3 +197,10 @@ cached_command() {
cached_atsha_serial() {
cached_command string 'serial' 'atsha204cmd' 'serial-number'
cached_atsha_challenge_response_file() {
local file="$1"
# this is wierd atsha204cmd interface...
echo "$file" | cached_command file "$file" 'atsha204cmd' 'file-challenge-response'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment