Skip to content

Conversation

@ecdsa
Copy link
Member

@ecdsa ecdsa commented Dec 2, 2025

  • the file is encrypted with a master key
  • the master key is encrypted with one or several passwords
  • passwords can be added to or removed from the list
  • a hmac of the file is written at the beginning of the file
  • passwords can be checked/updated without having to read/write the whole file
  • the GUI assumes a single password
  • partial writes: encrypted blobs are appended at the end of the file each blob is prefixed by its length can recover from incomplete write: hmac is updated after appending

@ecdsa ecdsa force-pushed the new_file_headers branch 2 times, most recently from ac622ca to 63d679e Compare December 2, 2025 16:17
@ecdsa ecdsa added the topic-walletstorage 💾 not wallet itself but storage/db-related label Dec 2, 2025
@SomberNight
Copy link
Member

related #5999

 - the file is encrypted with a master key
 - the master key is encrypted with one or several passwords
 - passwords can be added to or removed from the list
 - a hmac of the file is written at the beginning of the file
 - passwords can be checked/updated without having to read/write the whole file
 - the GUI assumes a single password
 - partial writes:
    encrypted blobs are appended at the end of the file
    each blob is prefixed by its length
    can recover from incomplete write: hmac is updated after appending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-walletstorage 💾 not wallet itself but storage/db-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants