Displaying 1 result from an estimated 1 matches for "oldfmt".
2020 Apr 25
2
[PATCH 1/3] Add private key protection information extraction to ssh-keygen
...nds_list="2 16"
+?? ??? ?for rounds in $rounds_list; do
+?? ??? ??? ?for t in $SSH_KEYTYPES; do
+?? ??? ??? ??? ?trace "generating $t key in '$fmt' format with
'$secret' passphrase and '$rounds' rounds"
+?? ??? ??? ??? ?rm -f $OBJ/$t-key*
+?? ??? ??? ??? ?oldfmt=""
+?? ??? ??? ??? ?case "$fmt" in
+?? ??? ??? ??? ?PKCS8|PEM) oldfmt=1 ;;
+?? ??? ??? ??? ?esac
+?? ??? ??? ??? ?# Some key types like ssh-ed25519 and *@openssh.com are
never
+?? ??? ??? ??? ?# stored in old formats.
+?? ??? ??? ??? ?case "$t" in
+?? ??? ??? ??? ?ssh-...