Veloso·Labs

Docs menu ↓

Add a contact with a single-use code

Show a code or send it as a link, the other phone opens it, both check 4 symbols. The code then stops working.

Steps

  1. On your phone, tap Show invite code. The code is valid for 10 minutes.
  2. The other person taps Scan a code in Ashnote and points it at your screen. Their phone's own camera works too: the code is a link, so it opens Ashnote, or the download page if they don't have it yet.
  3. Both phones show 4 symbols, with a countdown. You're standing together, so glance at the other screen. If they match, tap They match, accept. If they don't, tap Don't match, reject: someone else scanned your code.

Not together? Send it as a link

  1. On the invite screen, choose how long the link lasts: 10 min, 1 hour or 24 hours. It still works only once.
  2. Tap Share invite link and send it by text, email or any messaging app.
  3. The other person taps the link. On Android it opens Ashnote straight away; without Ashnote it goes to the download page first (install it, then tap the link again). Or they copy the code and use Scan a code › Paste a code.
  4. Call them and read the 4 symbols out loud before accepting. Accept only if all 4 match. If they don't, someone else used the link: reject it and send a new one.

The link looks like velosolabs.com/ashnote/i#ashnote:1:…. The code is the part after the #, which your browser never sends to velosolabs.com, so we never see it. Anyone who reads the message before your contact could use the link first: that's why it works once and why you compare the symbols on a call.

The symbols don't stay

  • They show only while the code is still valid (10 minutes, or the time you chose for a link).
  • If nobody accepts in time, the code is destroyed on both phones and the symbols explode. Show a new code to try again.
  • Once accepted, the symbols gather, glow and rise away with a tick, and the chat opens.

Why a code works only once

The code holds a one-off key made just for this invite, and a random secret. It does not hold your identity. When the first scan arrives, your phone checks the secret and the time, marks the invite as used and deletes the one-off key. A copy of the code (a photo or a screenshot) can't work afterwards, because nothing exists that could read a second request.

Cancel an invite at any time with Cancel invite; its key is deleted straight away. An invite that isn't scanned within 10 minutes expires the same way.

Good practice

Pair in person where you can: that's the strongest check. When you send a link, use the shortest time that suits, and always compare the symbols on a call.

Screenshots

Android app: an invite code, with Share invite link for sending it as a link
Android app: an invite code, with Share invite link for sending it as a link
Android app: check the 4 symbols match, then accept
Android app: check the 4 symbols match, then accept