Menu
blog.headdesk.me
blog.headdesk.me

Create nginx dav share for use with Enpass

Posted on 2020/12/272021/07/25

Enpass is my favorite password manager. It works on Linux and Mac, and it can sync the password vault to cloud storage. Here, I’ll show you how to setup your own nginx dav share. I prefer not to store my passwords on public cloud.

Create an nginx path. In this example, the nginx docroot is /var/www and the dav share will be stored under /var/www/enpass:

    location /enpass/ {
        root /var/www;
        auth_basic enpass;
        auth_basic_user_file /var/www/enpass/.enpass_htpass;
        dav_methods     PUT DELETE MKCOL COPY MOVE;
        dav_ext_methods PROPFIND OPTIONS;
        dav_access      user:rw group:rw all:r;
        create_full_put_path  on;
        autoindex on;
    }

Create the htpasswd file with htpasswd

htpasswd -c /var/www/enpass/.enpass_htpass <your-username>

Start or restart nginx and this dav share is ready for use. Next, configure enpass to sync with this share. Go to settings > vaults > primary > set up sync. Select WebDAV and then enter the url and credential. When done, click Connect.

You’re done. Enpass now syncs with your own private DAV share.

Enpass works quite well. It support auto-fill and TOTP 2FA. It works on Linux, Mac, and iPhone. The mobile app is not free, but I’m quite happy to support the developers who made this app available.

Loading

facebookShare on Facebook
TwitterTweet

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Full text search

Recent Posts

  • Upgrade RockyLinux 8 to 9
  • Terraform and segregated permissions
  • LVM Compression and Deduplication
  • Edit gpg encrypted file with vim
  • Lelit Elizabeth PL92T Pressure Tuning
  • aws (8)
  • coffee (1)
  • headfi (1)
  • linux (6)
  • others (59)
  • security (2)
  • tech (36)
  • wordpress (2)

Loading

apache apigateway aws awscli azure backup cloud coffee docker ec2 EL8 ElasticBeanstalk enpass espresso featured kernel lelit linux lvm meltdown MFA nat gateway nginx php proliant python rdp Redhat RHEL rpm Ryzen s2s scp serverless site-to-site smartarray snapshot spectre tech terraform transit gateway ubuntu ubuntu upgrade vpn wordpress

©2023 blog.headdesk.me | Powered by SuperbThemes & WordPress