Skip to content

Export RSA private key to PKCS8 format #294

Closed

Description

@akostadinov

Hi, I don't see any way to export RSA private key to PKCS8 PEM format as for example required by Chrome extension .crx.

There is a discontinued rubygem about this [1] but I think a to_pkcs8 method would nicely fit into the main library. There is a pull request for making it work with recent ruby.

[1] https://github.com/postageapp/openssl_pkcs8
[2] https://github.com/postageapp/openssl_pkcs8/pull/4/files

Activity

  1. ioquatix commented on Nov 19, 2019

    @ioquatix
    Member

    Great, can you make a PR here?

  2. akostadinov commented on Nov 20, 2019

    @akostadinov
    Author

    I don't expect to have time for this. I found I have another way around for the task at hand.

  3. ioquatix commented on Nov 20, 2019

    @ioquatix
    Member

    What is the other way?

  4. bdewater commented on Nov 22, 2019

    @bdewater
    Contributor

    #119 covers this among other things. Perhaps the relevant commit(s) could be cherry-picked out of the larger work in there to support x25519.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions