View Issue Details

IDProjectCategoryView StatusLast Update
0000443fileGeneralpublic2023-06-16 20:26
Reporterandrushka Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.43 
Fixed in Version5.45 
Summary0000443: Private PKCS8 SSH keys aren't recognized
DescriptionPrivate PKCS8 SSH keys show up as ASCII text.

Thanks!
Steps To Reproducessh-keygen -m pkcs8 -f /tmp/debug_key.pass -qN 'passphrase'
ssh-keygen -m pkcs8 -f /tmp/debug_key.nopass -qN ''
file /tmp/debug_key.*
# Shows:
# /tmp/debug_key.nopass: ASCII text
# /tmp/debug_key.nopass.pub: OpenSSH RSA public key
# /tmp/debug_key.pass: ASCII text
# /tmp/debug_key.pass.pub: OpenSSH RSA public key

Additional Informationhead -n 1 /tmp/debug_key.{,no}pass
# Shows:
# ==> /tmp/debug_key.pass <==
# -----BEGIN ENCRYPTED PRIVATE KEY-----
#
# ==> /tmp/debug_key.nopass <==
# -----BEGIN PRIVATE KEY-----

Maybe relevant: https://www.rfc-editor.org/rfc/rfc5958
TagsNo tags attached.

Activities

christos

2023-06-16 20:26

manager   ~0003954

Added, thanks

Issue History

Date Modified Username Field Change
2023-04-26 20:43 andrushka New Issue
2023-06-16 20:26 christos Assigned To => christos
2023-06-16 20:26 christos Status new => assigned
2023-06-16 20:26 christos Status assigned => resolved
2023-06-16 20:26 christos Resolution open => fixed
2023-06-16 20:26 christos Fixed in Version => 5.45
2023-06-16 20:26 christos Note Added: 0003954