Skip to content

Commit

Permalink
Make this change deployable
Browse files Browse the repository at this point in the history
  • Loading branch information
beautifulentropy committed Nov 19, 2024
1 parent 71b1a48 commit 5f10fa1
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 61 deletions.
132 changes: 71 additions & 61 deletions core/proto/core.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions core/proto/core.proto
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ message Registration {
repeated string contact = 3;
bool contactsPresent = 4;
string agreement = 5;
bytes initialIP = 6;
reserved 7; // Previously createdAtNS
google.protobuf.Timestamp createdAt = 9;
string status = 8;
Expand Down
3 changes: 3 additions & 0 deletions wfe2/wfe.go
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,9 @@ func (wfe *WebFrontEndImpl) NewAccount(
ContactsPresent: contactsPresent,
Agreement: wfe.SubscriberAgreementURL,
Key: keyBytes,
// TODO(#7671): This must remain until InitialIP is removed from
// core.Registration.
InitialIP: net.ParseIP("0.0.0.0").To16(),
}

refundLimits, err := wfe.checkNewAccountLimits(ctx, ip)
Expand Down

0 comments on commit 5f10fa1

Please sign in to comment.