project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Encrypted Filecoin Backup Vault

This project is a secure backup solution that utilizes the decentralized storage network of Filecoin to store encrypted data.

Encrypted Filecoin Backup Vault

Created At

FVM Space Warp

Project Description

This project is a comprehensive backup solution for Bitwarden that leverages the power of the decentralized storage network of Filecoin to securely store your data. The goal of the project is to provide Bitwarden users with a secure and accessible way to store important information, ensuring that it can be retrieved even in the event of a disaster or loss of access to the original device.

The solution works by encrypting the data using advanced cryptography before storing it on the Filecoin network. This ensures that the data is protected from unauthorized access and only the intended users can access it. The use of a decentralized network also eliminates the need for a central authority to store and manage the data, reducing the risk of a single point of failure.

One of the key features of this project is its ease of use. The user interface is intuitive and user-friendly, making it accessible to individuals of all technical skill levels. The backup process is simple and straightforward, and the encrypted data is stored on the Filecoin network in a way that is transparent to the user.

This project is ideal for Bitwarden users who require a secure and reliable backup solution. By using the decentralized storage network of Filecoin and advanced cryptography, the project provides a high level of security and protection for your Bitwarden data. Whether you are storing sensitive personal information or critical business data, this project provides a solution that you can trust to keep your information safe and secure.

How it's Made

First of all, I created a Bitwarden DAppNode package in order to keep Bitwarden on my local network or behind my own VPN. This package provides Bitwarden the url:port necessary to work with my own instance. I tested using Bitwarden on MacOS while running the package on my own network. I added to the package:

  • a backup.sh script which works with a cron every day
  • a cron job
  • an import.sh script which can restore the backup from the blockchain
  • node scripts (with ethers.js) necessary to interact with FEVM. One script necessary to get the backup hash previously created and another script to save the hash on the blockchain automatically.

I store the files using web3.storage which is much faster to implement for the hackathon.

Check the diagram.png to see how the encryption works.

Also, a smart contract was successfully deployed at https://hyperspace.filfox.info/en/address/0xbeadbcb67a9918b98796d180e5d6bb1458616862 with some solidity code. This smart contract is necessary to store and request the encrypted hash for starting recover the backup if necessary.

background image mobile

Join the mailing list

Get the latest news and updates