BitBetter/README.md

62 lines
2.6 KiB
Markdown
Raw Normal View History

2017-10-19 19:19:24 +02:00
# BitBetter
2017-10-29 20:51:53 +01:00
2017-10-19 19:19:24 +02:00
This project is a tool to modify bitwardens core dll to allow me to self license.
Beware this does janky IL magic to rewrite the bitwarden core dll and install my self signed certificate.
2018-11-22 06:03:21 +01:00
Yes, there still are quite a few things that need to be fixed. Updates and Organization Buiness Name is hardcoded to Bitbetter, are the first to things to fix.. Better handling of the User-GUID comes to mind too.
2018-11-22 07:36:46 +01:00
Credit to https://github.com/h44z/BitBetter and https://github.com/jakeswenson/BitBetter
2017-10-19 23:50:28 +02:00
## Building
2017-10-29 20:51:53 +01:00
To build your own `bitwarden/api` image run
2017-10-19 23:50:28 +02:00
```bash
2017-10-29 20:51:53 +01:00
./build.sh
2017-10-19 23:50:28 +02:00
```
replace anywhere `bitwarden/api` is used with `bitbetter/api` and give it a go. no promises
## Issuing your own licenses
2018-11-22 06:03:21 +01:00
The repo is setup to replace the licesning signing cert in bitwarden.core with your own personal self signed cert (`cert.pfx`)
2017-10-19 23:50:28 +02:00
If you want to be able to sign your own licenses obviously you'll have to replace it with your own self signed cert.
2017-10-29 20:51:53 +01:00
2017-10-19 23:57:03 +02:00
### Signing licesnses
2017-10-29 20:51:53 +01:00
There is a tool included to generate a license (see `src/liceseGen/`)
generate a PFX above using a password of `test` and then build the tool using:
```bash
./src/licenseGen/build.sh
```
This tool build ontop of the bitbetter/api container image so make sure you've built that above using the root `./build.sh` script.
After that you can run the tool using:
```bash
2018-11-22 05:37:36 +01:00
cd ~/BitBetter/src/licenseGen
./run.sh ~/BitBetter/.keys/cert.pfx user "Name" "EMail" "User-GUID"
./run.sh ~/BitBetter/.keys/cert.pfx org "Name" "EMail" "Install-ID used to install the server"
2017-10-29 20:51:53 +01:00
```
2017-10-19 23:57:03 +02:00
# Questions (you might have?)
2018-11-22 05:37:36 +01:00
I'll work on updates in the next couple weeks, right now, I just wanted something to start with.
2017-10-19 19:19:24 +02:00
## But why? Its open source?
Yes, bitwarden is great. If I didn't care about it i wouldn't be doing this.
I was bothered that if i want to host bitwarden myself, at my house,
for my family to use (with the ability to share access) I would still have to pay a monthly ENTERPRISE organization fee.
2017-10-19 23:50:28 +02:00
To host it myself. And maintain it myself. Basically WTH was bitwarden doing that I was paying them for?
2017-10-19 19:19:24 +02:00
## You should have reached out to bitwarden
Thanks, good idea. And I did. Currently they're not focused on solving this issue - yet.
2018-11-22 05:37:36 +01:00
To be clear i'm totally happy to give them my money. Offer a perpetual server license, and i'd pay for it. Let me license the server, period. Allow an orginzation to have Premium for all users.. 500 seats, let the 500 users in the orginzation have the Premium features too.
2017-10-19 19:19:24 +02:00
2018-11-22 05:37:36 +01:00
I'm still in the testing/evaluating phase. If I am hosting the server/data, let me license the server, period. How many licenses does one user need to have...