Closed Traderjoe95 closed 5 months ago
I'm a little split on this. Seems like we're balancing three mutually incompatible objectives:
Personally, I would probably sacrifice (2), and just give the KeyPackages the perpetual (0x0000000000000000, 0xffffffffffffffff)
lifetime.
@mulmarta you're the one with the ability to generate these vectors, what do you think?
I agree, I'll put up a PR with test vectors for the perpetual lifetime.
With this PR, the Ed25519 signature private keys in KeyPackages have a size of 64 bytes instead of the expected 32 bytes.
Truncating to 32 bytes makes the tests pass for me.
I just noticed when running my test suite that the key packages in the passive-client-random.json and passive-client-handling-commit.json test vectors have expired this afternoon and are now rejected by my implementation.
Could you please take care to update them?