Moved gpgparams to initproton.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
michael 2020-05-22 11:50:51 -05:00
parent d7785bd31d
commit f2c2a5d5ba
3 changed files with 2 additions and 10 deletions

View file

@ -12,7 +12,8 @@ if [ -n "$PASS_FILE" ]; then
fi
if ! [ -f ./initialized ]; then
gpg --generate-key --batch /tmp/gpgparams
echo -e "%no-protection\nKey-Type: RSA\nKey-Length: 2048\nName-Real: $EMAIL\nExpire-Date: 0\n%commit" \
| gpg --generate-key --batch
pass init pass-key
COMMAND="login\n$EMAIL\n$PASSWORD"
RUN_2FA_LOGIN=${RUN_2FA_LOGIN:-}