electrum icon indicating copy to clipboard operation
electrum copied to clipboard

New encrypted wallet file header:

Open ecdsa opened this issue 1 month ago • 1 comments

  • 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 avatar Dec 02 '25 16:12 ecdsa

related https://github.com/spesmilo/electrum/issues/5999

SomberNight avatar Dec 02 '25 16:12 SomberNight