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
ferveo API users have trouble debugging cases where CiphertextVerificationFailed is thrown in tpke
This error is thrown by check_ciphertext_validity(ciphertext, aad, g_inv)
Currently, we return ThresholdEncryptionError from the ferveo API, which is a catch-all for all tpke errors, including CiphertextVerificationFailed
Since g_inv is invariant (higher-level ferveo API provided a hardcoded default), this error is only thrown when ciphertext and aad are mismatched
Knowing this we can re-interpret the CiphertextVerificationFailed error and provide more concrete error messaging instead of ThresholdEncryptionError, for example: AADMismatchDuringCiphertextVerification
The text was updated successfully, but these errors were encountered:
ferveo
API users have trouble debugging cases whereCiphertextVerificationFailed
is thrown intpke
check_ciphertext_validity(ciphertext, aad, g_inv)
ThresholdEncryptionError
from theferveo
API, which is a catch-all for alltpke
errors, includingCiphertextVerificationFailed
g_inv
is invariant (higher-levelferveo
API provided a hardcoded default), this error is only thrown whenciphertext
andaad
are mismatchedCiphertextVerificationFailed
error and provide more concrete error messaging instead ofThresholdEncryptionError
, for example:AADMismatchDuringCiphertextVerification
The text was updated successfully, but these errors were encountered: