[CERES] cannot verify global AENS delegation signature #479
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: marc0olo
I am currently trying to implement a check in Sophia that verifies if the provided AENS delegation signature is valid. after some discussions with @hanssv it turns out that this is currently impossible.
I have following logic implemented right now:
with this logic I always run into
INVALID_DELEGATION_SIGNATURE
, even if providing a correct signature.I would need to be able to verify the signature for the unhashed bytes as follows:
require(Crypto.verify_sig(expected, Call.caller, delegation_sig), "INVALID_DELEGATION_SIGNATURE")
obviously this currently leads to following compiler error: