-
Notifications
You must be signed in to change notification settings - Fork 2
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
E2E demo deps #80
base: main
Are you sure you want to change the base?
E2E demo deps #80
Conversation
|
||
let round_tripped = bob | ||
.try_decrypt_content(bob_doc1.dupe(), &encrypted_content) | ||
.unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jtfmumm this panics. I think that lines 1471-1476 show that the CGKAs should be in sync. Maybe the receive is missing a rebuild trigger or something?
} | ||
StaticEvent::PrekeyRotated(op) => self.receive_prekey_op(&KeyOp::from(Rc::new(op)))?, | ||
|
||
StaticEvent::CgkaOperation(cgka_op) => self.receive_cgka_op(cgka_op)?, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the Cgka op coming in off the wire
keyhive_core/src/keyhive.rs
Outdated
assert_eq!( | ||
alice_doc1.borrow().cgka.pcs_key_ops, | ||
bob_doc1.borrow().cgka.pcs_key_ops | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps worth noting that these are different (this assertion fails)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense, since Bob would only insert into this once he has decrypted the root secret and created a PcsKey.
No description provided.