<oembed><type>rich</type><version>1.0</version><title>Tim Bouma wrote</title><author_name>Tim Bouma (npub1q6…nx7d5)</author_name><author_url>https://yabu.me/npub1q6mcr8tlr3l4gus3sfnw6772s7zae6hqncmw5wj27ejud5wcxf7q0nx7d5</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>For my project #nostr #safebox I am developing an authentication protocol which I am calling #nauth. The reason I developed this new protocol is so that either party, name initiator and recipient can initiate the protocol. I wanted to address a situation where only one party might have the ability to scan a QR code, either the patient or the physician. The QR code is merely an out-of-band initiation method, it could be a text or whatever. So here goes,&#xA;1. Initiator prepares and sends a #nauth request consisting of:&#xA;a. Initiator npub&#xA;b. nonce&#xA;c. auth kind&#xA;d. auth relays&#xA;e. transmittal kind&#xA;f. transmittal relays&#xA;&#xA;2. Recipient receives #nauth request (usually by scanning a QR code). The recipient inspects the #nauth request and returns another #nauth request as a NIP-59 gift wrapped message using the specified auth kind and auth relays &#xA;a. Recipient npub&#xA;b. nonce (should be the nonce provided)&#xA;c. auth kind (may be the same or different)&#xA;d. auth relays (may be the same or different)&#xA;e. transmittal kind (may be the same or different)&#xA;f. transmittal relays (may be the the same or different)&#xA;&#xA;3. The initiator, upon receiving the #nauth , inspects to see if the nonce is ok, and that the parameters are satisfactory. If so, it may provide an acknowledgment via an out-of-band indication, or through the auth kind/ relays channel proposed.&#xA;&#xA;4. All secure transmittals are sent as giftwrapped messages as kind=transmittal kinds. Any subsequent authentication control messages are sent as gift wrapped messages of kind=auth kind.&#xA;&#xA;BTW, I have this all implemented in #nostr #safebox for #mednostr and it is working like a charm so far. With this scheme I have 99.99999% confidence that health data records are being transmitted with no third party surveillance or model training.&#xA;&#xA;nostr:npub1healthsx3swcgtknff7zwpg8aj2q7h49zecul5rz490f6z2zp59qnfvp8p</html></oembed>