{"id":19597893,"url":"https://github.com/lennartkloock/simple-password-vault","last_synced_at":"2025-04-23T11:19:00.506Z","repository":{"id":45357268,"uuid":"424394473","full_name":"lennartkloock/simple-password-vault","owner":"lennartkloock","description":"🔐 Simple password safe for storing passwords","archived":false,"fork":false,"pushed_at":"2022-01-06T15:19:30.000Z","size":568,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T11:18:54.398Z","etag":null,"topics":["key-value-store","password-manager","self-hosted","webapp"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lennartkloock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-03T22:07:43.000Z","updated_at":"2024-03-26T12:50:18.000Z","dependencies_parsed_at":"2022-08-29T20:31:01.670Z","dependency_job_id":null,"html_url":"https://github.com/lennartkloock/simple-password-vault","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"lennartkloock/webserver_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fsimple-password-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fsimple-password-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fsimple-password-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lennartkloock%2Fsimple-password-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lennartkloock","download_url":"https://codeload.github.com/lennartkloock/simple-password-vault/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250421914,"owners_count":21427851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["key-value-store","password-manager","self-hosted","webapp"],"created_at":"2024-11-11T09:03:19.918Z","updated_at":"2025-04-23T11:19:00.478Z","avatar_url":"https://github.com/lennartkloock.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/lennartkloock/simple-password-vault/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/lennartkloock/simple-password-vault/actions/workflows/ci.yml)\n\n# 🔐 Simple Password Vault\n\n## 🔌 Setup\n\n### 📂 Download\n\nFirst, download the latest tar archive from [releases](https://github.com/lennartkloock/simple-password-vault/releases)\nand unpack it.\n\n```shell\ncurl -sL --url 'https://github.com/lennartkloock/simple-password-vault/releases/download/v0.2.0/simple_password_vault.tar.gz' --output 'simple_password_vault.tar.gz'\ntar -xzf simple_password_vault.tar.gz\ncd spv\n```\n\nNow, the new folder should contain the following items:\n\n- the server binary `simple-password-vault`\n- the default configuration file `Rocket.toml`\n- a folder called `public` (This folder contains all HTML, CSS and images)\n\n### 🔧 Configuration\n\nTo make sure the password vault can encrypt all stored passwords securely, please generate a new RSA keypair.\nThe keypair must be encoded in PEM PKCS#1.\n\n```shell\nopenssl genrsa -out keys/rsakey.pem 2048\nopenssl rsa -in keys/rsakey.pem -outform PEM -pubout -out keys/rsapubkey.pem\n```\n\nTo configure the password vault, please edit the `Rocket.toml` file. Since the password vault is built on top of\nthe [Rocket](https://rocket.rs) framework, the configuration format and all\nof [rocket's configuration parameters](https://rocket.rs/v0.5-rc/guide/configuration) can be used to further\nconfigure the password vault.\n\nAdditionally, the following keys can be used:\n\n| Key                            | Description                                                                          | Default value          | Example value                                       |\n|--------------------------------|--------------------------------------------------------------------------------------|------------------------|-----------------------------------------------------|\n| `name`                         | The application's name which will be displayed in the top left corner                | `\"Password Vault\"`     | `\"My cool password safe\"`                           |\n| `db_url`                       | The MySQL/MariaDB database url                                                       |                        | `\"mariadb://root:password@localhost:3306/vault_db\"` |\n| `static_dir`                   | The directory of all static files (css, fonts and images)                            | `\"public/static\"`      | `\"public/static\"`                                   |\n| `token_length`                 | The length that will be used when generating new authorization tokens                | `32`                   | `64`                                                |\n| `token_validity_duration_secs` | The duration in seconds that one authorization token (login session) needs to expire | `86400` (1 day)        | `604800` (7 days)                                   |\n| `public_key_path`              | The path to the public encryption key (relative to the binary)                       | `\"keys/rsapubkey.pem\"` | `\"keys/key_pub.pem\"`                                |\n| `private_key_path`             | The path to the private encryption key (relative to the binary)                      | `\"keys/rsakey.pem\"`    | `\"keys/key.pem\"`                                    |\n\n**⚠️ Attention**: Be aware that every file placed in the folder specified in `static_dir` or any sub folders will be\npublicly reachable through the webserver!\n\n### Example configuration\n\n```toml\n[default]\naddress = \"0.0.0.0\"\nport = 80\nname = \"Password Vault\"\ndb_url = \"mariadb://root:password@localhost:3306/vault_db\"\ntemplate_dir = \"public/templates\"\n```\n\n### 🚀 Run it\n\n**Note**: You will need to create the specified database, otherwise the next step will fail. (For example with: `CREATE DATABASE vault_db;`)\n\nAfter editing the `Rocket.toml` file according to your wishes, you can run the binary:\n```shell\n./simple-password-vault\n```\n\nWhen everything worked you should be able to navigate to the specified port in your web browser.\n\nIn the following you have to set a new password for the admin account.\nThis only happens at the first launch of the application or when all admin accounts were deleted.\nAfter logging in with your newly created admin account, the password vault is ready to be used.\n\n## 📷 Screenshots\n\n![no-table](https://user-images.githubusercontent.com/39778085/146641984-09915746-42c1-4b6e-9609-a2324e1cdae4.png)\n![important-passwords](https://user-images.githubusercontent.com/39778085/146641990-dc83ac57-82c8-4668-9f21-0bf15a1dc9e9.png)\n![customer-passwords](https://user-images.githubusercontent.com/39778085/146641991-381d4635-ef3b-482f-8a1d-aabc31e3094d.png)\n\n## 📜 License\n\nThis software is licensed under the terms of\nthe [MIT license](https://github.com/lennartkloock/simple-password-vault/blob/master/LICENSE).\n\n\u003chr\u003e\n\n\u0026copy; 2021 Lennart Kloock\n\u003cbr\u003e\n[Free icons by Streamline](https://streamlinehq.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flennartkloock%2Fsimple-password-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flennartkloock%2Fsimple-password-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flennartkloock%2Fsimple-password-vault/lists"}