Qnap [ VaultWarden ex: BitWarden_rs ] Password management solution for individuals, team

QoolBox

Représentant QNAP
2 Janvier 2014
10 559
163
153
49
France
www.qnap.com
14dfd7ce2a819b0da57fbe95ed906ce7723c86d2.png

Source : https://github.com/dani-garcia/bitwarden_rs/

Download : x86_64, arm64, arm-x41



Note :

Based on BitWarden_rs
use port 8000
disable all ADBlock on webrowser (or create rules)
prefix install : /opt/Bitwarden

Dependency : None

About :

Solve your password management problems
The easiest and safest way for individuals, teams, and business organizations to store, share, and sync sensitive data

YOUR ONLINE SAFETY IS AT RISK
Password theft is a serious problem. The websites and apps that you use are under attack every day. Security breaches occur and your passwords are stolen. When you reuse the same passwords everywhere hackers can easily access your email, bank, and other important accounts.

HOW DO YOU STAY SAFE?
Security experts recommend that you use a different, randomly generated password for every online account that you create. But how are you supposed to remember and keep up with that many passwords? Bitwarden helps you create and manage secure passwords so that you can get back to enjoying your life online.

157bd7877570c30ba653910b3276d74e95fa3c3d_2_690x431.png


[b]BUY IT NOW[/b]
Your gratitude and finance will help me to continue integration of this QPKG and maintain up to date versions.

Greetings to
dani-garcia : https://github.com/dani-garcia/bitwarden_rs/
 
Dernière édition:
updated

Code:
Web Vault updated to 2.10.1

bug fix :

Fixed broken U2F in Chrome 74+
Added images to email
Updated dependencies
 
Hello Stephane

Before I start, thank you for your work on all the QNAP extensions!!!
Currently a big fan of Qapache and now not far away from trying Bitwarden.

On which Bitwarden server version is your QPKG based on?
Is there a possibility to test the install and then buy?

I have a QNAP TVS-671 with 16GB of RAM and QTS 4.3.6.0993 build 20190704

Then I have a few questions about how the QPKG is working:
- Is this a QPKG with integrated Docker or did you rebuild everything so that we have just the package?
- Which database is it using, I hope the internal MariaDB?
- Can I use my Lets Encrypt cert from my QNAP name?
- Can I use the Mobile and Desktop App?

I know those are a lot of questions, but before I install something I want to know what comes onto my system.
Thank you,
Alain
 
Hi Alain (as explain on qnap forum)

it is undockerised version, build against Rust... i am currently using sqlite as DB (for mysql/mariadb it require another version been compiled)
you can use letsencrypt and Caddy as well... I think mobile and desktop app are working as well...

you can find more info on the github, some of your questions are answered there

https://github.com/dani-garcia/bitwarden_rs/

please give your NAS model ?
 
I have a QNAP TVS-671 with 16GB of RAM and QTS 4.3.6.0993 build 20190704

How much work is it to compile it with MariaDB/mysql?
I would really like that.
 
a bit complicated i think.. to provided a full working turnkey version with myslq support
without embbeding mysql it self in the package

do you received PM in this forum ?
 
Thank you for the link, I downloaded the file.
a bit complicated i think.. to provided a full working turnkey version with myslq support
without embbeding mysql it self in the package

What do you mean with that?
This package now uses the MariaDB server and has no DB server in the package?
 
by default it use a sqlite db

to force it using a MariaDB, it need be compiled with other flag...
but if user didnt setup the mariadb first correctly ... BitWarden, will not start, or in error
that why if i do it, i must include my own MariaDB version, like i did with Mattemost Premium
 
Ok, do you have a documentation how to compile a new qpkg?
I would like to work with you on this one.
To provide a new version which doesn‘t include a DB itself but uses the QNAP MariaDB and creates the db, tables needed.

My suggestion:
You give me the source and documentation and I do the work and then you can have it and sell it like the other version.

What do you think?
 
That sounds great!
I would really like to help, I‘m an IT engineer myself and have some programming knowledge.
But I‘ve never build a QPKG or tried something with Rust.

I think I‘d need just some guidance. But enjoy your vacation, I‘m sure well deserved.
 
Hey there,

I'm a noob at docker and most in-depth NAS stuff so I was very happy to find an easy to install QPKG and instantly bought it. Thanks for putting this together!

However I've got 2-3 questions:

Is it possible to enable https and to use my own Let's Encrypt certificate? (https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-HTTPS)

What would I need to do to disable new account registrations and/or enable the admin panel? (https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users and https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-admin-page)

Is that even possible with this build? I would really love to enable these security features... :S

Thanks for your effort!
 
QoolBox a dit:

knusper a dit:
Hey there,

I'm a noob at docker and most in-depth NAS stuff so I was very happy to find an easy to install QPKG and instantly bought it. Thanks for putting this together!

However I've got 2-3 questions:

Is it possible to enable https and to use my own Let's Encrypt certificate? (https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-HTTPS)

What would I need to do to disable new account registrations and/or enable the admin panel? (https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users and https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-admin-page)

Is that even possible with this build? I would really love to enable these security features... :S

Thanks for your effort!

Any help would be really appreciated. :)
 
it should be possible

you need to read the bitwarden_rs Wiki ... all file are within /opt/BitWarden

To enable HTTPS, you need to configure the ROCKET_TLS.

The values to the option must follow the format:

ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"}
Where:

certs: a path to a certificate chain in PEM format
key: a path to a private key file in PEM format for the certificate in certs
Note: The file name extensions used in the ROCKET_TLS line do not necessarily have to be PEM as in the example. Important is the file format that needs to be PEM, i.e. base64-coded. Since the PEM format is openssl's default you can therefore simply rename .cert, .cer, .crt and .key files to .pem and vice versa or - as an alternative - use .crt or .key as file extentions in the ROCKET_TLS line.

guess you just need to use this line ROCKET_TLS={certs="/path/to/certs.pem",key="/path/to/key.pem"}
and include it inside the /opt/BitWarden/BitWarden.sh

other solution wichi might work is using Caddy with a caddy file to generate a proxypass proxy to bitwarden