Anish-M-code / pqcrypt

PQcrypt : The post-quantum cryptography tool.
MIT License
22 stars 5 forks source link

create a mechanism to ensure both sender and receiver of PQcrypt encrypted messages use same version of PQcrypt. #11

Open Anish-M-code opened 1 year ago

Anish-M-code commented 1 year ago

Since PQcrypt is a rolling release software based on liboqs , maybe as soon as we git clone liboqs locally during installation we must run a sha512 hash over the locally cloned repository and use sha512 hash output as build version, this hash should be added in encrypted messages , the receiver should check this build version with his own and discard message if build versions mismatch. This logic has to be done in code, or perhaps if any better mechanism exists we might think over it.