Skip to content

Implementation for PEM_write_PrivateKey & PEM_write_PUBKEY#10317

Open
Roy-Carter wants to merge 5 commits intowolfSSL:masterfrom
Roy-Carter:feature/pem_write_enhancement
Open

Implementation for PEM_write_PrivateKey & PEM_write_PUBKEY#10317
Roy-Carter wants to merge 5 commits intowolfSSL:masterfrom
Roy-Carter:feature/pem_write_enhancement

Conversation

@Roy-Carter
Copy link
Copy Markdown
Contributor

Description

As part of a continuous integration from OpenSSL I came across the missing functions of : PEM_write_PrivateKey & PEM_write_PUBKEY while their read does exist , i've reversed the logic based on the read implementation to also support compatibility for write .

Testing

Tested via adding 2 new tests

  1. test_wolfSSL_PEM_write_PrivateKey
  2. test_wolfSSL_PEM_write_PUBKEY

Checklist

  • [*] added tests
  • [*] updated/added doxygen

@Roy-Carter
Copy link
Copy Markdown
Contributor Author

@julek-wolfssl could you run the workflow on this ?

@wolfSSL-Bot
Copy link
Copy Markdown

Can one of the admins verify this patch?

@dgarske
Copy link
Copy Markdown
Member

dgarske commented Apr 28, 2026

Okay to test. Contributor agreement on file.

@github-actions
Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@Roy-Carter Roy-Carter force-pushed the feature/pem_write_enhancement branch from a5506d0 to 4f700a4 Compare April 29, 2026 10:05
@Roy-Carter
Copy link
Copy Markdown
Contributor Author

same here , vpn test failed , rebased to master @julek-wolfssl

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants