Skip to content

Commit

Permalink
Merge pull request dracut-crypt-ssh#33 from sea36/master
Browse files Browse the repository at this point in the history
Specify PEM format for ssh-keygen, to ensure private key can be read by dropbearconvert
  • Loading branch information
artem-sidorenko authored Oct 29, 2018
2 parents d46a6e7 + 888343e commit 2204f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/60crypt-ssh/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ install() {

case ${state} in
GENERATE )
ssh-keygen -t $keyType -f $osshKey -q -N "" || {
ssh-keygen -t $keyType -f $osshKey -q -N "" -m PEM || {
derror "SSH ${msgKeyType} key creation failed"
rm -rf "$tmpDir"
return 1
Expand Down

0 comments on commit 2204f72

Please sign in to comment.