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

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • openssh-9.9p1-9.el10
    • No
    • Low
    • 1
    • rhel-security-crypto
    • ssg_security
    • 11
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • Crypto25Q2
    • Hide

      AC: exact error message is returned when invalid key is used

      Show
      AC: exact error message is returned when invalid key is used
    • Pass
    • Not Needed
    • New Test Coverage
    • Release Note Not Required
    • Not Required
    • 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)

        1. test.ppk
          1 kB
          Renaud Métrich

              zfridric Zoltan Fridrich
              rhn-support-rmetrich Renaud Métrich
              Dmitry Belyavskiy Dmitry Belyavskiy
              Miluse Bezo Konecna Miluse Bezo Konecna
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: