Skip to content

Authentication inheritance #50

Description

@stonecoldpat

It would be cool if we add a module for "authentication".

We would take the signature check out of replayprotection's verify. We could then pass in the encoded data + the bytes signature. then the internal function takes care of the rest.

By default we would inherit SingleSigner.

But it could be changed to MultiSigner. Both have the same interface:

verify(bytes memory data, bytes memory signature) returns (bool)

MultiSig would just decode signature to the individual sigs it cares about.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions