64 Commits

Author SHA1 Message Date
b8dcff0ce2
Add Python LSP settings and Ruff pre-commit hooks 2024-12-04 19:30:46 -03:00
1ebc9ffebd
Added pyproject.toml 2024-12-04 19:30:27 -03:00
aa6720444e
Remove Makefile and requirements.txt 2024-12-04 19:30:11 -03:00
4826e2d239
Add logo to README 2024-12-04 19:06:18 -03:00
f223dec437
Added action to mirror to Gitlab 2024-03-02 22:54:19 -03:00
beb8115acb
Asking for the keepass DB password interactively if not set 2024-02-24 09:18:20 -03:00
4d26be944e
Upgraded base to bookworm 2024-02-20 15:25:11 -03:00
e8d8c08336
Merge pull request #9 from rogsme/fix-docker-cves
Fixed CVEs picked up by docker scout
2024-02-20 13:12:15 -03:00
8273841e0b
Fixed CVEs picked up by docker scout 2024-02-20 13:11:24 -03:00
4cc130a64f
Merge pull request #8 from rogsme/add-github-action
Updated docker/login-action
2024-02-20 12:45:13 -03:00
242d7ce6ed
Updated docker/login-action 2024-02-20 12:43:50 -03:00
f69a3e31ee
Merge pull request #7 from rogsme/add-github-action
Add GitHub action
2024-02-20 12:42:45 -03:00
518472d5ce
Fixed ordering on entrypoint logging 2024-02-20 12:41:25 -03:00
3dd510ab27
Added Github action 2024-02-20 12:40:20 -03:00
e94525c047
Added missing word on README 2024-02-20 12:36:25 -03:00
11fd9be80e
Merge pull request #6 from rogsme/update-README
Update README
2024-02-20 12:35:17 -03:00
72b2a40bc6
Proofread the README 2024-02-20 12:33:16 -03:00
1d0969aa47
Added Usage information 2024-02-20 12:25:19 -03:00
ceefe4a025
Merge pull request #5 from rogsme/add-custom-bitwarden-instances
Add custom bitwarden instances
2024-02-20 11:52:23 -03:00
c4f8684cc7
Added error handling and logging 2024-02-20 11:49:26 -03:00
821567c515
Removed unnecesary files 2024-02-20 11:30:25 -03:00
18eacf97ec
Made it compatible with any bitwarden instance 2024-02-20 11:27:21 -03:00
844202f960
Reverted back to only using environment variables 2024-02-20 11:15:18 -03:00
57ce4a90e6
Merge branch 'master' of github.com:rogsme/vaultwarden-to-keepass into convert-to-vaultwarden 2024-02-20 11:03:13 -03:00
6434e2b995
Merge pull request #4 from rogsme/improve-dockerfile
Made building faster when developing
2024-02-20 11:01:55 -03:00
9ca85b6f70
Going back to using env vars on the entrypoint 2024-02-20 11:00:27 -03:00
2fb2efb076
Made building faster when developing 2024-02-20 10:38:05 -03:00
18f256ff84
Stopped using the docker-compose file 2024-02-20 10:36:05 -03:00
a0298bab01
Merge pull request #2 from rogsme/improve-dockerfile
Improve dockerfile
2024-02-20 10:07:25 -03:00
6595082d50
Downloading the CLI directly from Bitwarden's site 2024-02-20 09:20:47 -03:00
938af1ea36
Using multistage to get the cli from another prebuilt image 2024-02-20 08:45:20 -03:00
4c02d3be94
Using multistage build 2024-02-20 08:40:53 -03:00
e591aae71d
Merge pull request #1 from rogsme/improve-dockerfile
Downloading the CLI directly instead of using npm
2024-02-20 08:32:48 -03:00
21be29d720
Downloading the CLI directly instead of using npm 2024-02-20 08:27:36 -03:00
David Němec
5104c5c0f3
Set hidden custom fields as protected
Closes #3
2023-07-18 09:43:00 +02:00
David Němec
bcd0a217d5
Update Python and Debian 2023-07-18 09:35:28 +02:00
David Němec
1cf1d10675
Merge pull request #13 from diogotito/multiple_urls
Handle multiple URIs like KeePassDX
2022-10-09 21:30:40 +02:00
diogotito
8a427a9e69 Handle multiple URLs and mobile apps
Multiple androidapp:// go to AndroidApp, AndroidApp_1 and so on
Multiple URLs go to URL_1, URL_2 and so on
This mimics the way the KeePassDX app handles multiple URLs for it's autofill mechanism
2022-10-04 15:01:22 +01:00
David Němec
9c27ba943c
Merge pull request #12 from diogotito/optimize-docker
Reorganize Dockerfile to speed up development with Docker
2022-09-28 21:41:22 +02:00
diogotito
5f20c1f86b Reorganize Dockerfile to cache apt and pip steps
This way, the RUN step that installs @bitwarden/cli gets cached and only needs to be run once per machine
Likewise for the RUN step that installs pykeepass, which only needs to be run when the pykeepass version gets bumped
2022-09-26 21:44:30 +01:00
David Němec
76604fcbe6
Do not download attachments to tmpfs, instead save them directly to KeePass database 2022-06-11 15:52:33 +02:00
David Němec
5aff563599
Persist Bitwarden config folder
Avoids gettings emails about new sign-up on every export
2022-06-11 15:45:42 +02:00
David Němec
296fabede4
Update python base image 2022-06-11 15:44:04 +02:00
David Němec
821fb74898
Merge pull request #8 from jabashque/nested-folders-fix1
Overhaul group and subgroup creation to better match Bitwarden behavior
2021-08-14 17:30:17 +02:00
jabashque
1c548daaf4 Overhaul group and subgroup creation to better match Bitwarden behavior
In Bitwarden, one could make it so their account only has a certain set
of folders, like so:
- testfolder/a
- testfolder/a/b/c
- testfolder/a/b/c/d

The resulting hierarchy would look like this:
testfolder/a
`- b/c
   `- d

As shown above, Bitwarden allows one to name a folder something like
"foo/bar" even if a folder "foo" doesn't exist. Bitwarden handles this
by just putting this folder in the root with the name as-is.

In addition, as shown with "testfolder/a/b/c", a folder name may not
necessarily be just anything that comes after the last `/` delimiter.
Instead, it's dependent on which ever existing folder happens to match
the most of the folder's name's prefix.

As such, the following references were used to replicate this behavior
in bitwarden-to-keepass:
ecdd08624f/common/src/services/folder.service.ts (L108)
ecdd08624f/common/src/misc/serviceUtils.ts (L7)
2021-07-26 09:44:11 -07:00
David Němec
1750d8898b
⬆️ Bump pykeepass 2021-06-26 16:46:55 +02:00
David Němec
9da213b724
Merge pull request #7 from jabashque/nested-folders
Support nested folders properly
2021-06-26 16:26:51 +02:00
jabashque
c59426e4f0 Support nested folders properly
When creating KeePass groups based off Bitwarden folders, make it so
that the KeePass groups follow the same hierarchy as their equivalent
Bitwarden folders.
2021-06-26 01:35:04 -07:00
David Němec
3bb5f3be3b
Catch exceptions for every entry property
Fixes #6
2021-04-21 11:28:29 +02:00
David Němec
12be55fec2
Continue outer loop properly
Relates with previous commit 8e485b184405d34f8de8dacd4f64258c9675e488
2021-03-05 18:23:53 +01:00