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

hoon: fix jet mismatch in +shas #5861

Merged
merged 3 commits into from
Oct 6, 2023
Merged

hoon: fix jet mismatch in +shas #5861

merged 3 commits into from
Oct 6, 2023

Conversation

joemfb
Copy link
Member

@joemfb joemfb commented Jun 17, 2022

This PR fixes jet mismatch in +shas, introduced with urcrypt in v1.6. +shas is used for %gall agent wires, and therefore ends up in %ames flows, so this mismatch has a dramatic and observable effect. It's the cause of the event log replay mug mismatches that effect piers booted before v1.6 and subsequently upgraded. #5304 and #5836 are representative examples. Thanks to @Fang- for tracking down an accessible reproduction, and @frodwith for helping to find the root cause.

This PR cannot be released before #5701.

@joemfb joemfb requested a review from philipcmonk June 17, 2022 20:05
@jalehman
Copy link
Member

The C portion of this needs to make its way to the new urbit/vere repo. @joemfb , would you mind cherrypicking the relevant commits into a new PR on urbit/vere?

@matthew-levan
Copy link
Contributor

I ported the vere code over: urbit/vere#309.

@jalehman
Copy link
Member

jalehman commented Jun 8, 2023

Should this retarget next/kelvin/412 @belisarius222 ?

@joemfb joemfb changed the base branch from next/vere to next/hoon/138 October 5, 2023 22:38
@joemfb joemfb changed the title urcrypt: fix jet mismatch in +shas hoon: fix jet mismatch in +shas Oct 5, 2023
@joemfb joemfb requested review from pkova and removed request for philipcmonk October 5, 2023 22:38
@joemfb
Copy link
Member Author

joemfb commented Oct 5, 2023

I've updated this PR to resolve the +shas jet mismatch in favor of the jet. +shas is used indirectly (via +shaf) in moon and comet keys, +code, and eyre's sessions. Fixing the jet to match the hoon is simply not worth the trouble.

/cc @frodwith

@joemfb
Copy link
Member Author

joemfb commented Oct 5, 2023

#6615

@pkova pkova merged commit 261d202 into next/hoon/138 Oct 6, 2023
1 check failed
@pkova pkova deleted the jb/shas-len branch October 6, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants