Skip to content

aethertap/pass-dedup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Deduplicating passwords from vaultwarden

So, here's the scenario: You have a bunch of browsers and a bunch of computers and accounts all over the place, and you decide you want to drain all of the stored passwords out of them and dump them into vaultwarden. Easy! Export csv from all of the places, and import it, and you're done!

Except, now you have a bunch of copies of all of your stuff, and it's a giant mess. Time for Vaultwarden Deduplicator!

This is a pre-alpha tool that is currently just known to work on my password data. I used it once and it did the job, so I figure it's "probably bug free." However, it's not. It tries not to destroy civilization, but no promises. Make sure you're keeping backups if you try this.

This is a funky little app with a kinda weird control flow, so do read the directions! The idea is that you will export your vaultwarden to a csv, then use the tool to incrementally trim out stuff you don't want. It doesn't do it automatically, but it lets you pick up from where you left off by just opening the save file as the new input (or just overwriting the input file as you work). So, it's just making the manual deduplication workflow a lot less painful by putting all of the things you need on-screen, and making it easy to find your place when you want to do some more.

Okay, now here's how you use it if you're still here:

WARNING! This tool will display unprotected passwords in plain text, right on your screen! Make sure you're in a place with some privacy before you use it!

  1. Highly recommended: Start gitwatch in a directory where you are going to work on your csv data.

  2. Export your vaultwarden password data to CSV in the gitwatch directory.

  3. cargo run. You can provide a path to the input file if you want, or just use the file picker after it's launched.

  4. Click "Add file" and add the csv you want. You can do this multiple times to merge different files together. This requires the vaultwarden CSV format, so don't try to directly import stuff from a browser or some crazy talk like that!

  5. Click on the output path to change the output filename. By default, it will create a file called dedup.csv in the current working directory. You can set this to be the same file as it used for input, and it will just gradually trim entries as you work on it.

  6. You'll see a big list on the left of all of the domains (or non-web stuff) you have duplicated passwords for.

  7. Click a domain and one of the usernames under it, and it will populate with a table showing the information from all of the detected duplicates.

  8. You can just uncheck all but one of the rows, or you can pick a fave and push "Use All", which allows you to edit it up above.

  9. Edit and then press "Apply changes"

  10. NOTE: Unless you uncheck an entry, it will be saved again! This is for safety. So if you press "Customize" on one of the rows, but then leave it checked, you'll have the one you edited and the one you cloned from in the output.

About

A weird little tool to help with deduplicating vaultwarden/bitwarden passwords

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages