This repository contains a small programm to decode a backup produced by Signal Android.
Rust v1.40 or higher is required
cargo install signal-backup-decode
This tool depends on parsed protoc files. A pre-generated version is included with in this repo, they can be regenerated using the feature flag rebuild-protobuf
.
For regenerating the protobuf-files this tool, protoc
has to be installed.
apt install protobuf-compiler
pacman -S protobuf
Once protoc
is installed, this tool can be installed using cargo
:
cargo install --features "rebuild-protobuf" signal-backup-decode
This tool is run as signal-backup-decode
. See signal-backup-decode --help
:
```
signal-backup-decode [FLAGS] [OPTIONS] --sqlite-path
USAGE:
signal-backup-decode [FLAGS] [OPTIONS] --sqlite-path
FLAGS: -h, --help Prints help information --no-tmp-sqlite Do not use a temporary file for the sqlite database --no-verify-mac Do not verify the HMAC of each frame in the backup -V, --version Prints version information
OPTIONS:
--attachment-path
ARGS: Sets the input file to use
```
This repository is under the GPLv3 License.
The proto/Backups.proto file is taken and derived from the Signal Android Source Code with the following copyright notice:
/**
* Copyright (C) 2018 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/