Skip to content

Support loading EC keys from pem in KeyBundle #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 18, 2020

Conversation

angelakis
Copy link
Contributor

Related to Issue #34.

I went a bit out of my way to fix keybundle_from_local_file to work for EC too and add P-256 as a default curve in ec_init (like rsa_init has 2048 as a default size). I also cleaned up some related tests.

@codecov
Copy link

codecov bot commented Feb 18, 2020

Codecov Report

Merging #35 into master will increase coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
+ Coverage   77.48%   77.55%   +0.06%     
==========================================
  Files          37       37              
  Lines        3682     3693      +11     
  Branches      713      715       +2     
==========================================
+ Hits         2853     2864      +11     
  Misses        603      603              
  Partials      226      226              
Impacted Files Coverage Δ
src/cryptojwt/key_bundle.py 81.63% <0.00%> (+0.38%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45b6878...4da5162. Read the comment docs.

@rohe rohe merged commit 6f8dbb1 into IdentityPython:master Feb 18, 2020
@angelakis angelakis deleted the import-EC-keys-from-pem branch February 20, 2020 10:59
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.

2 participants