Debian Codegraph @

debian/tests/genpmk

raw
1 #!/bin/sh
2 #Copyright (C) 2021 Blau Araujo <[email protected]>
3 #License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
4 #This is free software: you are free to change and redistribute it.
5 #There is NO WARRANTY, to the extent permitted by law.
6
7 set -e
8
9 ref='6b7a04357a1882e7dad358f1ec8f5e8440fbb21e1cc49a3f11e75776bded686d
10 cbe200d105b64a14741fb9d75e827fc2e3444a8cc13f04de10bd0a1891e752d5'
11
12 test=$(wlangenpmk -p password -e essid|grep -E 'SHA1|SHA256'|cut -d" " -f3)
13 test "$ref" = "$test"