Closed stef closed 2 years ago
incomplete, todo:
adapting the bindings
for the record if i did not forget anything these are the changes in this branch in comparison to master:
s/crypto_hash_sha256_BYTES/crypto_hash_sha512_BYTES/ everywhere! delete everything related to cfg delete also infos type and replace infos param with (const uint8_t * context, const size_t context_len) remove usage of envu_len, opaque_package_len remove all functions for 1k variants only skS is provided optionally anywhere, pkS is never anymore.
opaque_register
recover_credentials:
createcredentialresponse
userAuth
CreateRegistrationResponse has an additional skS/server_private_key parameter in 2nd position
FinalizeRequest:
StoreUserRecord
all bindings except js are updated.
js bindings are also updated and the tests in tests
run correctly, however the tests in ../src/test
fail for some weird reason. the demo is not yet adapted.
conforms to the 1st test vectors specified in https://github.com/cfrg/draft-irtf-cfrg-opaque/blob/cf76da9c4199bd445ac95372d38a81d65eb900d0/poc/vectors/vectors.json