Skip to content

Don't expect monkeypatched nacl.signing.SigningKey instances #16

@DMRobertson

Description

@DMRobertson

A nicer way to fix matrix-org/synapse#11714 (imo)

  • Define a new type which holds the data (key: nacl.signing.SigningKey, alg: str, version: str). Either inherit from nacl.signing.SigningKey or introduce a new wrapper.
  • Change functions that take a signedjson.types.SigningKey to accept this new data type.
  • Major version bump.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions