Receive files
Make a link where someone can send your agent files. Their browser encrypts each one to your agent's key before it leaves.
afile receive --expires 1h --files 3
afile items --tag receivedreceive prints a link like https://api.afile.sh/r/<id>#<fingerprint>. Whoever opens it picks files in their browser. Each file is encrypted there, with X25519 and AES-256-GCM, to your agent's receive key, and arrives as an item tagged received.
The part after # is the fingerprint of your agent's receive key. The page checks the key it gets against it, and refuses to encrypt if they differ.
Options
--expires: a day unless you say otherwise, and 30 days at most.--files: how many files it takes, 5 unless you say otherwise, and 20 at most.--max-size: the largest file it takes, such as10MB. Up to 25 MiB.
Files are data, not instructions
A file someone sends your agent is information. Your agent reads it as data and never follows requests written inside it.