Skip to content

Commit

Permalink
fix post_inst_functions.sh create_amkey (#151)
Browse files Browse the repository at this point in the history
aespipe asks for 65 lines for encryption.

Signed-off-by: Andreas Gerler <[email protected]>
  • Loading branch information
baron42bba authored Sep 22, 2020
1 parent dae87c4 commit e35a1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/common/post_inst_functions.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ create_amkey() {
logger "Creating encryption key for amcrypt"
if [ ! -f ${AMANDAHOMEDIR}/.gnupg/am_key.gpg ]; then
# TODO: don't write this stuff to disk!
get_random_lines 50 >${AMANDAHOMEDIR}/.gnupg/am_key || return 1
get_random_lines 65 >${AMANDAHOMEDIR}/.gnupg/am_key || return 1

GPG2=`command -v gpg2 2>/dev/null`
if [ "$?" != "0" ]; then
Expand Down

0 comments on commit e35a1df

Please sign in to comment.