Certis: a digital passport for watches

Bachelor project: a digital passport for watches, signed with ECDSA, with verified ownership transfer.

Context

A watch changes hands. You need to prove who owns it and that its history hasn't been altered. Certis gives each watch a digital passport.

My role

Design and development of the NestJS API and the Expo/React Native mobile app, from the cryptographic model to deployment.

Key decisions

  1. Sign passports and transfers with ECDSA

    Every passport and every transfer carries a signature. Authenticity is checked with cryptography, not taken on the database's word alone.

  2. Bind each nonce to its watch during transfer

    I found a flaw: the transfer checked the nonce without checking that it matched the watch being transferred. I added that check so a proof only works for its own watch.

Outcome

The bachelor project shipped: a live API, a mobile app and public code on GitHub.

Stack

  • NestJS
  • Expo
  • React Native
  • PostgreSQL
  • Neon
  • Render
  • ECDSA