Clarify prekey profile signing procedure
claucece opened this issue · comments
Sofía Celi commented
The signature of the prekey profile is not done by using the shared prekey. It is signed with the longterm key pair (aka. the identity key). The shared prekey should be generated like a normal ECDH key (we do not need to allocate extra space in the case of signing, as for the longterm key pair).
I think this is done correctly in the implementation; but it is not clear on the spec.