Skip to content
This repository was archived by the owner on Mar 18, 2023. It is now read-only.

JSON Web Keys #10

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

JSON Web Keys #10

wants to merge 6 commits into from

Conversation

FossoresLP
Copy link
Owner

This PR adds JSON Web Keys to the package, removes key parsing for other key types (like PKCS1/PKCS8) and removes the public key type that is also replaced by a JWK.

Due to the major changes in the API this is a breaking change and requires a new major release.

This commit removes all key parsing and instead uses the JSON Web Key format for all further use of the keys.
@FossoresLP FossoresLP added enhancement New feature or request semver-breaking This is a breaking change and requires a new major release labels Apr 4, 2019
@codecov
Copy link

codecov bot commented Apr 4, 2019

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #10   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          18     16    -2     
  Lines         734    705   -29     
=====================================
- Hits          734    705   -29
Impacted Files Coverage Δ
alg-eddsa/keys.go 100% <100%> (ø) ⬆️
alg-es/keys.go 100% <100%> (ø) ⬆️
alg-rs/keys.go 100% <100%> (ø) ⬆️
alg-hs/keys.go 100% <100%> (ø) ⬆️
alg-ps/keys.go 100% <100%> (ø) ⬆️

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 f0028ee...52fbddc. Read the comment docs.

This commit includes updates to the documentation comments of the JWK package to convert them to the standard go scheme.
It also removes the (unused and inofficial) key type "Internal".
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request semver-breaking This is a breaking change and requires a new major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant