Skip to content

Switch Authorization object from key to registration ID as association - #201

Merged
jsha merged 3 commits into
letsencrypt:masterfrom
rolandshoemaker:remkey
May 18, 2015
Merged

jsha merged 3 commits into
letsencrypt:masterfrom
rolandshoemaker:remkey

Conversation

@rolandshoemaker

Copy link
Copy Markdown
Contributor

First half of a fix for #181, I've switched authz and pending_authz to store the registration ID, now a AUTOINCREMENT primary key, instead of the JWK. Still need to switch certificates to the same method, but opening this now for review since it'll be pretty much the same stuff.

…y (and update all the random stuff they touched)
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.76%) to 43.99% when pulling e233fda on rolandshoemaker:remkey into 672f0b1 on letsencrypt:master.

Comment thread sa/storage-authority_test.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just to highlight

@jcjones

jcjones commented May 14, 2015

Copy link
Copy Markdown
Contributor

Haven't done a detailed look, but the approach seems good. Will have to come back for a proper review.

Comment thread core/interfaces.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's make these int64 to be explicit (int is platform dependent).

@jsha

jsha commented May 14, 2015

Copy link
Copy Markdown
Contributor

Done reviewing. Generally looks good, modulo those comments above.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-1.69%) to 43.06% when pulling faa1d5a on rolandshoemaker:remkey into 672f0b1 on letsencrypt:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-2.21%) to 42.54% when pulling e1ba291 on rolandshoemaker:remkey into 672f0b1 on letsencrypt:master.

@rolandshoemaker

Copy link
Copy Markdown
Contributor Author

Should be ready for re-review, also added a fix for #203. Will start working on adding some extra tests.

jsha added a commit that referenced this pull request May 18, 2015
Switch Authorization object from key to registration ID as association
@jsha
jsha merged commit 4cda5e1 into letsencrypt:master May 18, 2015
@jsha

jsha commented May 18, 2015

Copy link
Copy Markdown
Contributor

Looks good, thanks. Will keep an eye out for those extra tests. Merging.

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.

4 participants