Veloso·Labs

Docs menu ↓

App lock and PIN

A PIN keeps Ashnote closed to anyone else holding your phone. Forgot it? Your phone's own unlock lets you choose a new one.

How it works

  • Choose a PIN the first time you open Ashnote (from 0.5.0; if you already had Ashnote, it asks the first time you open the new version). It's 4 digits: after the 4th it moves on by itself and asks you to type it again. Tap Use a longer PIN for 6 to 8 digits, then tap ✓.
  • Ashnote asks for it every time it opens, and again if it has been in the background for more than a minute. Your chats aren't loaded until it's unlocked.
  • Only your phone knows the PIN. It's kept as a scrambled, salted value in the phone's secure storage, never the PIN itself, and it never leaves the phone.
  • The PIN locks your chats themselves (from 0.6.0). Your chats are stored encrypted, and the key that opens them is released only by your PIN or by your phone's own unlock (fingerprint, face, or the passcode, pattern or PIN you use to unlock the phone). Clearing Ashnote's lock can't open them. The first time you unlock after updating, Ashnote moves the key behind the lock by itself, and Settings › App lock shows Data key moved behind the lock.
  • Wrong tries: after 5 wrong PINs, each wrong try makes you wait before the next one: 30 seconds, then 1 minute, then 5 minutes, then 15 minutes each time (from 0.5.1). Closing the app doesn't skip the wait.
  • Fingerprint or face (optional): switch on Unlock with fingerprint or face in Settings › App lock. The PIN still works too.
  • Change PIN in Settings › App lock.
  • Lock events (from 0.5.2): Settings › App lock lists when the PIN was chosen or changed, reset through Forgot PIN, or Ashnote was reset, and when a wait started after wrong PINs. The list stays on your phone only.

Forgot your PIN?

Tap Forgot PIN? on the lock screen.

  1. Use fingerprint or phone passcode: prove it's your phone with its own unlock (fingerprint, face, or the passcode, pattern or PIN you use to unlock the phone), then choose a new Ashnote PIN. Your contacts and chats stay.
  2. This needs a screen lock on your phone at the time you last unlocked Ashnote, because that's when your phone keeps its copy of the key. Without one, only your Ashnote PIN can open your chats.
  3. If the phone has no screen lock, or you can't pass it, Reset Ashnote deletes every contact, group, message and setting on this phone, after asking you to confirm. You'd then pair with people again.

Ashnote has no account and no server of ours, so a PIN can't be reset from a website: nobody else, including Veloso Labs, can unlock your Ashnote.

Try it

In the demo, open Settings from a phone's contact list and tap Lock (the demo PIN is 1234).

Screenshots

Android app: choosing a 4-digit PIN; it moves on by itself after the 4th digit
Android app: choosing a 4-digit PIN; it moves on by itself after the 4th digit
Android app: the lock screen after a wrong PIN, counting down to a wait
Android app: the lock screen after a wrong PIN, counting down to a wait
Demo: Forgot PIN, with the phone owner check and Reset Ashnote
Demo: Forgot PIN, with the phone owner check and Reset Ashnote