Skip to content

Instantly share code, notes, and snippets.

@Deadolus
Deadolus / exportToBitwarden.sh
Created October 29, 2019 09:55
Export from ZX2C4 linux pass standard password manager to csv (Bitwarden format)
#!/bin/bash
#Converts password files (*.gpg) from ZX2C4 pass standard linux password manager (https://www.passwordstore.org/)
#in the current folder and subfolders in to csv output.
#Uses the pass executable for decrypting the files
#The csv has Bitwarden format (folder,favorite,type,name,notes,fields,login_uri,login_username,login_password,login_totp)
#Works but threats a big part of the output as notes in Bitwarden,
#so some manual cleanup is required after importing in to bitwarden
convert_pass() {
name=$1

Keybase proof

I hereby claim:

  • I am deadolus on github.
  • I am smne (https://keybase.io/smne) on keybase.
  • I have a public key whose fingerprint is D392 F046 A234 9546 188E 56B4 E568 5325 D3AC 2678

To claim this, I am signing this object:

@Deadolus
Deadolus / transmission-ssl
Created November 9, 2016 20:01 — forked from Belphemur/transmission-ssl
Configuration to use nginx as reverse proxy for Transmission BT with SSL/HTTP2 protected with auth
upstream transmission {
server 127.0.0.1:9091; #Transmission
}
server {
listen 443 ssl http2;
server_name example.com;
auth_basic "Server Restricted";
auth_basic_user_file /var/www/myWebSite/web/.htpasswd;
# Path to the root of your installation