You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever we create a CBS object, it's usually because we're feeding some data into BoringCrypto. If all the data is not read, this usually indicates invalid data. If importing a key doesn't consume all the bytes supplied in the key, we should probably reject it.
This needs test cases to ensure compatibility with web implementations.
Look code referencingScope.createCBS those places probably have to check that CBS is empty after it's been processed.
This requires testing of invalid key bytes, so probably blocked by #55
The text was updated successfully, but these errors were encountered:
Whenever we create a CBS object, it's usually because we're feeding some data into BoringCrypto. If all the data is not read, this usually indicates invalid data. If importing a key doesn't consume all the bytes supplied in the key, we should probably reject it.
This needs test cases to ensure compatibility with web implementations.
Look code referencing
Scope.createCBS
those places probably have to check that CBS is empty after it's been processed.This requires testing of invalid key bytes, so probably blocked by #55
The text was updated successfully, but these errors were encountered: