Bump version and rename to vaultwarden
parent
a8b09eb4b0
commit
ffc08add6b
15
CHANGELOG
15
CHANGELOG
|
@ -113,3 +113,18 @@
|
|||
[1.6.3]
|
||||
* Set `configurePath` in the manifest
|
||||
|
||||
[1.7.0]
|
||||
* BitwardenRS is now Vaultwarden
|
||||
* Update Vaultwarden to 1.22.0
|
||||
* Added sends_allowed option to disable Send functionality.
|
||||
* Added support for hiding the senders email address.
|
||||
* Added Send options policy.
|
||||
* Added support for password reprompt.
|
||||
* Switched to the new attachment download API.
|
||||
* Send download links use a token system to limit their downloads.
|
||||
* Updates to the icon fetching.
|
||||
* Support for webauthn.
|
||||
* The admin page now shows which variables are overridden.
|
||||
* Updated dependencies and docker base images.
|
||||
* Now RSA keys are generated with the included openssl instead of calling to the openssl binary.
|
||||
* The web vault doesn't require accepting the terms are conditions now, which weren't applicable for a self hosted server.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "com.github.bitwardenrs",
|
||||
"title": "Bitwarden_rs",
|
||||
"title": "Vaultwarden",
|
||||
"author": "Daniel García",
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
|
@ -17,7 +17,7 @@
|
|||
},
|
||||
"memoryLimit": 1073741824,
|
||||
"manifestVersion": 2,
|
||||
"website": "https://github.com/dani-garcia/bitwarden_rs",
|
||||
"website": "https://github.com/dani-garcia/vaultwarden",
|
||||
"documentationUrl": "https://docs.cloudron.io/apps/bitwardenrs",
|
||||
"forumUrl": "https://forum.cloudron.io/category/64/bitwardenrs",
|
||||
"contactEmail": "support@cloudron.io",
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
This app packages Bitwarden RS <upstream>1.20.0</upstream>.
|
||||
This app packages Vaultwarden <upstream>1.20.0</upstream>.
|
||||
|
||||
### Overview
|
||||
|
||||
This is the Rust implementation backend, *not* the official server backend, but fully compatible with the Client apps.
|
||||
|
||||
Bitwarden is a self-hosted password manager. It allows you to store and manage your passwords, credit cards, and other private information in a secure way while still allowing you to access it from your browser, phone, or desktop.
|
||||
Vaultwarden is a self-hosted password manager. It allows you to store and manage your passwords, credit cards, and other private information in a secure way while still allowing you to access it from your browser, phone, or desktop.
|
||||
|
||||
Note on User Management: **Bitwarden does not support Single Sign On**. This is by design for security reasons. You must create a new password for your Bitwarden account.
|
||||
Note on User Management: **Vaultwarden does not support Single Sign On**. This is by design for security reasons. You must create a new password for your Bitwarden account.
|
||||
|
||||
By default it will allow open registration. This can be changed via environment variables at `/app/data/config.env`.
|
||||
|
||||
|
|
|
@ -12,14 +12,14 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
|
|||
ENV PATH /root/.cargo/bin:$PATH
|
||||
|
||||
# Note that these two hand in hand. Wait for the backend to list the vault version
|
||||
ARG BITWARDEN_VERSION=1.20.0
|
||||
ARG VAULTWARDEN_VERSION=1.22.0
|
||||
ARG WEB_VAULT_VERSION=2.19.0
|
||||
|
||||
RUN mkdir /src && \
|
||||
curl -L "https://github.com/dani-garcia/bitwarden_rs/archive/${BITWARDEN_VERSION}.tar.gz" | tar zxf - --strip-components 1 -C /src && \
|
||||
curl -L "https://github.com/dani-garcia/bitwarden_rs/archive/${VAULTWARDEN_VERSION}.tar.gz" | tar zxf - --strip-components 1 -C /src && \
|
||||
cd /src && \
|
||||
cargo build --features mysql --release && \
|
||||
mv /src/target/release/bitwarden_rs /app/code/bitwarden_rs && \
|
||||
mv /src/target/release/vaultwarden /app/code/vaultwarden && \
|
||||
rm -rf /src
|
||||
|
||||
RUN curl -L "https://github.com/dani-garcia/bw_web_builds/releases/download/v${WEB_VAULT_VERSION}/bw_web_v${WEB_VAULT_VERSION}.tar.gz" | tar zxf -
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
On first visit, register yourself and start using Bitwarden RS.
|
||||
On first visit, register yourself and start using Vaultwarden.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# bitwardenrs-app
|
||||
# vaultwarden-app
|
||||
|
||||
A Cloudron deployment for [Bitwarden_rs](https://github.com/dani-garcia/bitwarden_rs) that includes MySQL support .
|
||||
A Cloudron deployment for [Vaultwarden](https://github.com/dani-garcia/vaultwarden) that includes MySQL support .
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -8,7 +8,7 @@ A Cloudron deployment for [Bitwarden_rs](https://github.com/dani-garcia/bitwarde
|
|||
|
||||
The main `Dockerfile` in this repo is actually a symblink pointing to a proper `Dockerfile` that will be used for building.
|
||||
|
||||
There are two real Dockerfiles in this repo. One pulls Bitwarden_rs from Docker Hub and extracts the binary. The other will actually build it from source. It used to be required to build from source for MySQL integration, but it is no longer necessary. Should you wish to have more control over the build process, or enable any other build time features in the future, you should use `Dockerfile.multi-stage`. You can easily switch between them by changing the symblink for `Dockerfile`.
|
||||
There are two real Dockerfiles in this repo. One pulls Vaultwarden from Docker Hub and extracts the binary. The other will actually build it from source. It used to be required to build from source for MySQL integration, but it is no longer necessary. Should you wish to have more control over the build process, or enable any other build time features in the future, you should use `Dockerfile.multi-stage`. You can easily switch between them by changing the symblink for `Dockerfile`.
|
||||
|
||||
### The build process
|
||||
|
||||
|
|
8
start.sh
8
start.sh
|
@ -2,11 +2,11 @@
|
|||
|
||||
set -eu
|
||||
|
||||
mkdir -p /run/bitwardenrs
|
||||
mkdir -p /run/vaultwarden
|
||||
|
||||
if [[ ! -f /app/data/config.env ]]; then
|
||||
cat <<EOT > /app/data/config.env
|
||||
# Export bitwarden rs environment variables here to ovveride the defaults
|
||||
# Export vaultwarden environment variables here to ovveride the defaults
|
||||
|
||||
#export SIGNUPS_ALLOWED=false
|
||||
#export INVITATIONS_ALLOWED=true
|
||||
|
@ -42,7 +42,7 @@ export DATA_FOLDER=/app/data
|
|||
export CONFIG_FILE=/app/data/config.json
|
||||
export RUST_BACKTRACE=1
|
||||
export WEBSOCKET_ENABLED=true
|
||||
export LOG_FILE=/run/bitwardenrs/bitwardenrs.log
|
||||
export LOG_FILE=/run/vaultwarden/vaultwarden.log
|
||||
|
||||
# Generate admin token if it doesn't exist
|
||||
if [[ ! -f /app/data/admin_token ]]; then
|
||||
|
@ -51,7 +51,7 @@ fi
|
|||
export ADMIN_TOKEN=$(cat /app/data/admin_token)
|
||||
echo "=> Admin token: ${ADMIN_TOKEN}"
|
||||
|
||||
chown -R cloudron:cloudron /run/bitwardenrs /app/data
|
||||
chown -R cloudron:cloudron /run/vaultwarden /app/data
|
||||
|
||||
echo "=> Starting supervisord"
|
||||
rm -f /run/apache2/apache2.pid
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[program:core]
|
||||
directory=/app/code/
|
||||
command=/app/code/bitwarden_rs
|
||||
command=/app/code/vaultwarden
|
||||
user=cloudron
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
|
Loading…
Reference in New Issue