Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-68124

Provide details on crypto error instead of "error in libcrypto" for non-supported private keys

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • openssh
    • None
    • No
    • Low
    • rhel-sst-security-crypto
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      This is a continuation of RHEL-52293.
      If the user tries to use a PuTTY key (".ppk" format) on a RHEL9 system, the following error shows up:

      debug1: Trying private key: ./test.ppk
      Load key "./test.ppk": error in libcrypto
      

      With RHEL8, the error was more explicit:

      debug1: Trying private key: ./test.ppk
      Load key "./test.ppk": invalid format
      

      What is the impact of this issue to you?

      Annoyance because it's hard to troubleshoot

      Please provide the package NVR for which the bug is seen:

      openssh-8.7p1-44

      How reproducible is this bug?:

      Always, use the key attached to the issue (test.ppk a RSA key)

              dbelyavs@redhat.com Dmitry Belyavskiy
              rhn-support-rmetrich Renaud Métrich
              Dmitry Belyavskiy Dmitry Belyavskiy
              Miluse Bezo Konecna Miluse Bezo Konecna
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: