Decrypt files encrypted by QNAP's Hybrid Backup Sync


Version on this page:0.3.2
LTS Haskell 14.27:0.3.5
Stackage Nightly 2019-09-21:0.3.5
Latest on Hackage:0.3.5

See all snapshots qnap-decrypt appears in

BSD-3-Clause licensed by ALeX Kazik
Maintained by [email protected]
This version can be pinned in stack with:qnap-decrypt-0.3.2@sha256:e2ff2aca11b277ee2ee4607ca213f962ba53515d13438573f9ed0049314cb938,3323

Module documentation for 0.3.2


A program (and library) to decrypt files encoded by QNAP’s Hybrid Backup Sync.


  1. Install Stack

  2. Download/clone this repo

  3. cd into it

  4. stack install

    • You may have to add the path of the installation to your PATH or always use the full path


The program supports four modes:

  • Decrypt a single file or
  • Decrypt a full directory tree
  • Replace the decrypted file(s) or
  • Save the file/directory to a new file/directory


qnap-decrypt file -p password -s source.file -d target.file


  • Mikiya83 for hbs_decipher which I used to learn about the file structure


Changelog for qnap-decrypt

0.3.2 – 2018-06-13

  • Support for temporary 1.3

0.3.1 – 2018-04-29

  • Specifying upper bounds by hand

0.3.0 – 2018-04-28

  • Initial release