Digital vault

SafeTale

Digital safe application inspired by aircraft black boxes

A vault for passwords, codes and writings, with a delay you choose: once it passes without a sign of life, someone you trust receives what they need to open it.

Conceived, designed and coded by one person

SafeTale dashboard

Project overview

Four applications for a simple need: preparing for a sudden disappearance, and passing on what matters to loved ones.

  • 4 Applications
  • 7 Themes
  • AES-256 Content encryption
  • 30 days Default delay

Desktop Application

The WPF interface where data is kept, encrypted on the computer before being sent

  • .NET 10
  • WPF
  • C#
  • MVVM
  • WebView2
  • Sentry

Backend API

Node.js server with JWT authentication and trusted third party system

  • Node.js
  • TypeScript
  • Express
  • MongoDB
  • JWT
  • WebSocket

Showcase Website

Nuxt website for presentation, documentation and download

  • Nuxt 4
  • Vue 3
  • Vuetify 4
  • TypeScript
  • Pinia

Infrastructure

Containerized deployment with MongoDB database and email notifications

  • Docker
  • MongoDB
  • SMTP
  • Nodemailer
  • Node-cron

System Architecture

A Windows application, an API, a public website, a back office and a MongoDB database

Loading...

Hover a component: its links light up in the diagram.

Applications 3 components

  • Public siteNuxt 4, Vuetify 4Presentation, documentation and download
  • Windows application.NET 10, WPFThe user's vault, encrypted on their computer
  • Back officeVue 3, Vuetify 4Service monitoring and support

Services 3 components

  • APIExpress, TypeScriptAccounts and sign-in
  • Real timeWebSocketSynchronises the application's data
  • DeadlinesScheduled tasksWatches deadlines and notifies the trusted third party

Data 1 component

  • MongoDBMongoose 8Service data

Partners and third-party services 1 component

  • E-mailSMTPMessages to users and to the trusted third party

System overview

Screens of the public website and the Windows application

Key Features

What SafeTale does, feature by feature

Content encryption

One data key (DEK) per account, which only passwords open

  • Content encrypted with AES-256 on the computer, before being sent
  • Random data key, unique to each account
  • Data key encrypted with two different passwords
  • PBKDF2 to derive keys from passwords
  • Random initialisation vector for each encryption

Trusted person

The handover happens on its own, at the chosen deadline

  • Delay of your choice, two days at least
  • E-mail notice before the deadline
  • Automatic handover at the deadline
  • Deadline postponed at any time
  • Can be turned off
  • Setting changes confirmed by e-mail

Personal data

What can be kept in the vault

  • Passwords, with application and username
  • PIN, PUK and unlock pattern
  • Personal journal with a rich editor
  • Journal sorted and filtered by category

Real-time synchronisation

The application and the server talk over WebSocket

  • Permanent WebSocket connection
  • Token renewed, then connection resumed
  • Messages up to 100 MB
  • Fragmented messages reassembled
  • Compressed exchanges

Security and monitoring

Accounts, traces and error reports

  • JWT authentication with a refresh token
  • Sign-in passwords hashed (bcrypt)
  • Crash reports through Sentry on the computer
  • Restricted allowed origins (CORS)
  • Rate limit on the back office channel
  • Log of back office actions

Windows application

A WPF interface, in MVVM

  • Seven themes, light and dark
  • French, English and Hungarian
  • Built-in rich text editor (WebView2)
  • Automatic update

Technology Stack

What SafeTale is built with

Desktop Application
.NET 10WPFC#MVVMWebView2SentryFontAwesome
Backend & API
Node.jsTypeScriptExpressMongoDBJWTWebSocketNodemailer
Frontend Web
Nuxt 4Vue 3Vuetify 4TypeScriptPinia

What's inside SafeTale

What the code does today, and why it exists

Technical side

Content encryption
AES-256, on the computer
Password keys
PBKDF2
Synchronisation
Two-way WebSocket
Message size
Up to 100 MB
Delay
30 days, 2 at least

Project side

Applications
Computer, API, website and back office
Application languages
French, English, Hungarian
Idea
A digital black box
Purpose
Passing on to loved ones

Ready to preserve your secrets?

Discover SafeTale and prepare the future for your loved ones