Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: JRuby-OSSL 0.7.7
    • Fix Version/s: None
    • Component/s: OpenSSL, Windows
    • Labels:
      None
    • Environment:
      jruby 1.6.7.2 (ruby-1.9.2-p312) (2012-05-01 26e08ba) (Java HotSpot(TM) Client VM 1.6.0_32) [Windows XP-x86-java]
    • Number of attachments :
      1

      Description

      Decrypting a private x509 key always fails.

      OpenSSL::PKey::RSA.new File.read('debug.key'), 'test'

      errors with

      OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key:
      initialize at org/jruby/ext/openssl/PKeyRSA.java:278

      The key decrypts successfully on OS X and Ubuntu 10.0.4

      I've attached the sample key, created with
      openssl genrsa -des3 -out debug.key 1024

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            John Weir
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: