pEpEngine/db/mkpass

18 lines
329 B
Plaintext
Raw Normal View History

2016-07-09 16:40:50 +02:00
#!/bin/sh
2016-12-27 21:13:41 +01:00
# This file is under GNU General Public License 3.0
# see LICENSE.txt
if [ $1/ == / ] ; then
lang=en
else
2016-07-09 16:47:45 +02:00
if [ $1/ == -h/ -o $2/ != / ] ; then
echo usage: $0 [ISO 639 language code]
exit 0
fi
lang=$1
fi
trustwords.py -l $lang ` hexdump -vxn 10 /dev/random | sed -E 's/^[0-9a-z]+//'`