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

core: remove Account ID field from JSON responses. #225

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

cpu
Copy link
Contributor

@cpu cpu commented Apr 1, 2019

The core.Account type has an ID string field that is used to internally track the ID of the ACME account. It should not be returned in JSON Account resource responses, it's not an RFC 8555 specified field. Boulder may return a similar field but that's a convenience and not a protocol feature. The RFC 8555 method of learning the account's ID is from the Location header. Removing this field from the Pebble Account JSON responses will help ensure that ACME clients do the right thing.

The `core.Account` type has an `ID` string field that is used to
internally track the ID of the ACME account. It should not be returned
in JSON `Account` resource responses, it's not an RFC 8555 specified
field. Boulder may return a similar field but that's a convenience and
not a protocol feature. The RFC 8555 method of learning the account's ID
is from the `Location` header.
@cpu cpu self-assigned this Apr 1, 2019
@jsha jsha merged commit 51ec98e into master Apr 1, 2019
@cpu cpu deleted the cpu-no-account-id-field-marshal branch April 1, 2019 16:41
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