nostr-gem/sig/nostr/errors/signature_validation_error.rbs
Wilson Silva 01010c763f
Allow the verification of signatures and events
Added the methods:
- Event#verify_signature
- Crypto#check_sig!
- Crypto#valid_sig?
- Crypto#sign_message

Fixed a primitive obsession by introducing a Signature class to ensure that signatures are valid Nostr signatures.
2024-03-15 19:13:33 +00:00

5 lines
64 B
Plaintext

module Nostr
class SignatureValidationError < Error
end
end