Skip to content

feat: pass key sequence when creating key#397

Merged
dazuma merged 11 commits intomainfrom
fix_openssl3_compatibility
Oct 6, 2022
Merged

feat: pass key sequence when creating key#397
dazuma merged 11 commits intomainfrom
fix_openssl3_compatibility

Conversation

@NivedhaSenthil
Copy link
Copy Markdown
Contributor

@NivedhaSenthil NivedhaSenthil commented Sep 19, 2022

  • with openssl3 keys are immutable
  • update to pass in keys in der format instead of mutating after creating key

Fixes #381

@ariccio
Copy link
Copy Markdown

ariccio commented Sep 19, 2022

If you have a moment, could you elaborate on how you construct the sequence here? I know so little about OpenSSL that I don't even know which docs to check.

ariccio added a commit to ariccio/COVID-CO2-tracker that referenced this pull request Sep 19, 2022
@NivedhaSenthil
Copy link
Copy Markdown
Contributor Author

Hi @ariccio, you may refer these docs for info on the structure of keys and more.

RSA: https://www.rfc-editor.org/rfc/rfc3447#appendix-A
EC: https://www.rfc-editor.org/rfc/rfc5480#section-2

@NivedhaSenthil NivedhaSenthil marked this pull request as ready for review September 21, 2022 06:20
@NivedhaSenthil NivedhaSenthil requested a review from a team September 21, 2022 06:20
@shivgautam shivgautam added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 6, 2022
@dazuma dazuma removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 6, 2022
Copy link
Copy Markdown
Contributor

@dazuma dazuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added tests to verify the key contents, and updated the required tests to match the new CI matrix.

The code LGTM. Thanks Nivedha!

@dazuma dazuma merged commit ef1a530 into main Oct 6, 2022
@dazuma dazuma deleted the fix_openssl3_compatibility branch October 6, 2022 17:38
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.

Compability issue with OpenSSL 3.0

4 participants