CLI command
skarbiec apple-challenge-put
Store the digits delivered to a trusted device for an already-authorized one-use challenge resource.
Invocation#
printf '%s' '<digits>' | skarbiec apple-challenge-put <challenge:resource>Purpose#
Store the digits delivered to a trusted device for an already-authorized one-use challenge resource.
Required inputs and options#
- Requires exactly one challenge: resource and a non-empty digits-only code on stdin.
Output and state effects#
- Stores the code as an encrypted note tied to that resource, appends a non-secret audit record, and prints status stored plus resource.
Refusals#
- Refuses extra/missing resources, non-challenge resources, absent authorization, empty stdin, or non-digit input.