* Find the new file
Next extract Core.dll, patch, reinsert
* Prepare Linux script too
* Extract and patch Core.dll again
* Make build script dynamic
* Cleanup after ourselves
* Build, then delete file
* Attempt to deconstruct the new file
* Add missing quotes
* Add missing file
* Rectify dll location
* Fix dumb extra character matching
* Dynamically find LicensingService and improve error reporting
* Upgrade package
* Implement new code
* Filter out new lines
* Force the runtime config
* Use correct external .NET library
* Update to .NET 10 in build.sh
Copy .NET 10 runtime from aspnet10.0-alpine3.23 to the bitwarden-lite container
* Update to .NET 10 in build.ps1
Copy .NET 10 runtime from aspnet:10.0-alpine3.23 to bitwarden-lite container
* Update generateKeys.sh to OpenSSL 3.x-compatible
Update to OpenSSL 3.x-compatible cipher generation
* Update generateKeys.ps1 to OpenSSL 3.x-compatible
Update to OpenSSL 3.x-compatible cipher
* Update bitBetter Dockerfile to .NET 10
* Update bitBetter.csproj to .NET 10
* Switch to X509CertificateLoader, switch to patching multiple thumbprint certificates
Update Program.cs in bitBetter to switch from deprecated X509Certificate to X509CertificateLoader
Patch multiple thumbprint certificate instances
* Update licenseGen Dockerfile to .NET 10
* Update licenseGen.csproj to .NET 10
* Remove extra line
* Get rid of extra line
* Update deprecated X509Certificate2 in LicenseGen
* Cleanup
* Fix tabbing
---------
Co-authored-by: Michiel Hazelhof <m.hazelhof@fyn.nl>
Co-authored-by: huntb4646 <94577767+huntb4646@users.noreply.github.com>
* Some work on line endings
* Enable buildkit
* Update documentation
* Settle the newline and tab vs spaces for now
Not perfect, but it's a standard
* Change wording
* Update version memo
* Add correct definition for markdown
* Make things clearer
* Rename Containers from bitwarden/self-host:beta to bitwarden/lite:beta
* Edit README to reflect rename
* Change build.ps1 and Dockerfile-bitwarden-patched to CRLF
* Remove .DS_Store file, and add to .gitignore
* Actually remove .DS_Store
* Make all ps1 files CRLF in .gitattributes & Make Dockerfiles LF.
* Change from beta tag to latest
Add commands to build check to test if the created licensegen image can actually generate user and organization licenses. licenseGen.sh will print the generated license to stdout and return zero if successful. If an error occurs, a non zero error code is returned which should cause a build error.
* Fix bitbetter patch according to upstream changes
* Fix the builds by removing redundant already removed and stopped old instance
---------
Co-authored-by: juliokele <>
Set three new license options to true: UseRiskInsights, UseOrganizationDomains, and UseAdminSponsoredFamilies.
As mentioned in #229, licenses had to be regenerated starting in 2025.5.0. It looks like new options were added which default to false unless we set them to true here. I am not sure if the version needs to be bumped or not. I tested locally and I can now access the Claimed Domains page in my organization.
Signed-off-by: Joseph Gigantino <128943406+Jgigantino31@users.noreply.github.com>
* Update build.sh to reflect move to GHCR
* Update build.ps1 to reflect move to GHCR
* Update README.md to reflect move to GHCR
* Update Dockerfile-bitwarden-patch to reflect move to GHCR
* Updated license version to 12, added SM options, increased max seats (short to int) (#172)
* - Updated license version to 12
- Added new SM license options
* Change seats, smseats, smserviceaccounts from short to int, like they are in the Bitwarden server code, to allow for the accurate maximum amount of seats
* Add extra ignore
* Code cleanup
* Ignore more VS cruft
* Bring up to date with upstream
(Update License to use Secrets Manager fully)
* Update to .NET 8.0
* Initial work
* Fix typo
* Fix typo
* Fix stupid issue
* Add comments and fix minor issues
* Add extra information
* Add Linux script for generating keys
* Add circleci
* Add comments
* Add extra option
* Add missing permissions and empty script for now
* Fix line endings
* Add missing mount point
* Simplify patch
* Fix scripts
* Reduce complexity
* Fix circleci
* Remove useless line
* Move to src folder and improve image creation
* BitBetter: update build.sh / update-bitwarden.sh
Bitwarden has changed the way they report version numbers for
self-hosted installations.
Fixes https://github.com/jakeswenson/BitBetter/issues/134
Credit to @Ayitaka for the fix
Tested and Verified, Updated install to 1.47.1
Signed-off-by: Donald Hoskins <grommish@gmail.com>
* Update build.sh
Remove extraneous comment
* update-bitwarden.sh: Fix relative path
update-bitwarden.sh attempted to update BitBetter via
./build.sh, but if run via crontab, you aren't in
the BitBetter directory.
Fixed to find it correctly.
Signed-off-by: Donald Hoskins <grommish@gmail.com>
* Update update-bitwarden.sh
Co-authored-by: h44z <christoph.h@sprinternet.at>
Co-authored-by: h44z <christoph.h@sprinternet.at>
* Use latest release of bitwarden as base image (#67, #66)
* Add a script which simplifies Bitwarden updates
* fix typo
* Add UseApi
* Updated version, created update section
* Workaround for docker-compose --ignore-pull-failures bugs (4377 and 7127)
* use version from docker script
* check if bitbetter images are outdated
Co-authored-by: Lework <kuailemy123@163.com>
Co-authored-by: Jake Swenson <jakeswenson@users.noreply.github.com>
Co-authored-by: Jeff Alyanak <jeff@alyanak.ca>
* Exclude cert.cert from git
* Use latest release of bitwarden as base image (#67, #66)
* Add a script which simplifies Bitwarden updates
* fix typo
* Add UseApi
* Updated version, created update section
* Workaround for docker-compose --ignore-pull-failures bugs (4377 and 7127)
* use version from docker script
* check if bitbetter images are outdated
* Make Sso available in org license
Add `UseSso` var and enable
* Update README.md
Co-authored-by: Christoph Haas <christoph.h@sprinternet.at>
Co-authored-by: Lework <kuailemy123@163.com>
Co-authored-by: Captainhook <ec14018@qmul.ac.uk>
* Make policies available in generated org licenses.
* Change license version to current value used in BitWarden. Add info about compatibility in README file.
Co-authored-by: Michiel Hazelhof <m.hazelhof@fyn.nl>
Due to compatibility issues laid out in issue #53:
Update from .net core 2.0 to 3.1 and newtonsoft.json 12.0.1 to 12.0.3.
* Update README.md
Added note that testing has been done up to Bitwarden 1.32.0.
Replaced editing of `docker-compose.yml` with the update-resistant usage
of `docker-compose.override.yml`
* Updated Readme
Better description of dependencies, updated readme.
* Fixed default key directory
Script was not looking in the right place for the auto-generated key directory. This patch fixes issue #35.
* Cleans up Key Directory Patch
Key directory path fix was echoing the directory when run.
* Fixed default key directory
Script was not looking in the right place for the auto-generated key directory. This patch fixes issue #35.
* Cleans up Key Directory Patch
Key directory path fix was echoing the directory when run.
* Use absolute path rather than relative path in scripts
* Remove src/bitBetter/.keys/cert.cert
* Build licenseGen in Docker
This way we don't have to install dotnet sdk on the host
* Build bitBetter in Docker
This way we don't have to install dotnet sdk on the host
* Change DIR in run.sh to point to the project root
* Replace echo in Dockerfiles by set -x and set -e
* Use same Dockerfile for api and identity images
* Update README.md
* Update CircleCI config
The Docker Executor can't mount volume.
https://support.circleci.com/hc/en-us/articles/360007324514https://circleci.com/docs/2.0/executor-types/#using-machine
* Make scripts work with sh
* Remove the container used to build bitBetter