Internal
Asserts the lock currently expects a signature from privateKey.
privateKey
The NUT-11 P2PK secret.
A single private key (hex string or Uint8Array).
The signer's x-only pubkey.
Compared x-only, since Schnorr verification ignores parity. Nostr pubkeys prepend 02 by convention, ignoring actual Y-parity.
If the secret is malformed or does not name the key.
Asserts the lock currently expects a signature from
privateKey.