Add kem extract helper script.

pull/822/head
Fredrik Öhrström 2023-01-21 10:29:13 +01:00
rodzic b6c0675e09
commit 4849cb411c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -21,7 +21,7 @@ fi
# The key is the supplied password as raw bytes padded with zero bytes.
# The key is also used as the iv.
key=$(echo -n "$password" | xxd -p)
key=$(printf "%-32s" 4f5638333030 | tr ' ' '0')
key=$(printf "%-32s" "$key" | tr ' ' '0')
xml=$(cat "$file")