Skip to content
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

V1 rewrite #40

Merged
merged 42 commits into from
May 14, 2019
Merged

V1 rewrite #40

merged 42 commits into from
May 14, 2019

Conversation

dmjones
Copy link
Contributor

@dmjones dmjones commented Apr 25, 2019

Re-write of crypto11 to implement various backwards-incompatible design changes. This PR will be released as v1.0.0, beginning a new commitment to API stability.

Many of the topics in #36 are addressed, plus several outstanding issues:

The main thing discussed in #36 that wasn't implement was the WithAttributes functions. I'm not sure they are needed, so I'm happy to wait for someone to request them. I'll create an issue to capture that as a potential enhancement. There is a branch, with-attributes, the contains the beginning of some work on this. #20 also hasn't been implemented, but it will be.

Duncan Jones and others added 11 commits April 23, 2019 14:31
Changing to the config I use with SoftHSM. Still won't suit most people,
but neither did the original.
Apologies for massive commit, but rather difficult to split a wholesale
change into small parts. Many aspects are yet to be done, including
changing id/label behaviour, adding attributes, adding cert support,
etc.

Completely untested; tests expected to fail.
Duncan Jones added 8 commits April 29, 2019 15:33
We can no longer test this, as we update the source code
This commit also addresses an issue where errors during Configure
resulting in the PKCS#11 library remaining initialized. Now all error
paths kill the library.
@dmjones dmjones marked this pull request as ready for review April 30, 2019 14:05
ecdsa.go Outdated Show resolved Hide resolved
Copy link
Contributor

@nickrmc83 nickrmc83 left a comment

Choose a reason for hiding this comment

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

Just a single small change from a quick scan.

@dmjones
Copy link
Contributor Author

dmjones commented May 3, 2019

I've pushed a few more changes. Mostly about removing errors from our API. However, I decided to adjust the find keys stuff so it returns nil if the keys aren't found, not an error.

Copy link
Contributor

@nickrmc83 nickrmc83 left a comment

Choose a reason for hiding this comment

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

LGTM

@dmjones dmjones merged commit 38ef753 into master May 14, 2019
@dmjones dmjones deleted the v1-rewrite branch May 14, 2019 13:44
@cbroglie
Copy link
Contributor

The tag for this release is v.1.0.0, which I'm guessing was a typo (note extra dot: v.)

@dmjones
Copy link
Contributor Author

dmjones commented May 20, 2019

Thanks @cbroglie, I've just corrected that.

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