Skip to content

Disallow GETs for Registration. - #208

Merged
jsha merged 1 commit into
masterfrom
no-registration-get
May 19, 2015
Merged

jsha merged 1 commit into
masterfrom
no-registration-get

Conversation

@jsha

@jsha jsha commented May 19, 2015

Copy link
Copy Markdown
Contributor

Per the spec, authenticated requests must be signed by an account key, and
GET requests can't be signed under the current protocol. If the account holder
wishes to fetch their current registration, they can do so by posting a signed,
empty update to their registration resource.

Also fix a bug in generating registration URLs.

Comment thread wfe/web-front-end.go

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.

Did this break a test? Or do we need to add a test to check this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It did not break a test. I think we need to add two tests:

client integration testing: #210
unittest: #211

Per the spec, authenticated requests must be signed by an account key, and
GET requests can't be signed under the current protocol. If the account holder
wishes to fetch their current registration, they can do so by posting a signed,
empty update to their registration resource.

Also fix a bug in generating registration URLs.
@jsha
jsha force-pushed the no-registration-get branch from 6c344e4 to 8dd4c65 Compare May 19, 2015 19:44
@jcjones

jcjones commented May 19, 2015

Copy link
Copy Markdown
Contributor

Still looks good to me

jsha added a commit that referenced this pull request May 19, 2015
@jsha
jsha merged commit 2d7bcd9 into master May 19, 2015
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 43.68% when pulling 8dd4c65 on no-registration-get into 1c251bc on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 43.68% when pulling 8dd4c65 on no-registration-get into 1c251bc on master.

@jsha
jsha deleted the no-registration-get branch May 19, 2015 23:23
eq19 pushed a commit to VirtualNetworks/boulder that referenced this pull request May 1, 2025
…d on the smallest limits in the intended target browsers for each storage) (letsencrypt#208)
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.

3 participants