{"id":19114471,"url":"https://github.com/pinebit/qvault","last_synced_at":"2026-05-18T15:31:45.837Z","repository":{"id":90867424,"uuid":"126703774","full_name":"pinebit/qvault","owner":"pinebit","description":"QVault is the encrypted key-value store library for Qt/C++ with the focus on security.","archived":false,"fork":false,"pushed_at":"2023-04-12T12:21:42.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T12:00:55.337Z","etag":null,"topics":["cpp11","encryption","keyvaluestore","openssl","qt5"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pinebit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-25T14:07:05.000Z","updated_at":"2023-04-12T12:21:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"65239042-084a-405c-b6f5-55a6a8a4bb4f","html_url":"https://github.com/pinebit/qvault","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pinebit/qvault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fqvault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fqvault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fqvault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fqvault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinebit","download_url":"https://codeload.github.com/pinebit/qvault/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fqvault/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33182722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cpp11","encryption","keyvaluestore","openssl","qt5"],"created_at":"2024-11-09T04:42:19.843Z","updated_at":"2026-05-18T15:31:45.820Z","avatar_url":"https://github.com/pinebit.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QVault\n\n\u003e QVault is the encrypted key-value store library for Qt/C++.\n\nThe library is using OpenSSL for data encryption, specifically:\n- PKCS5_PBKDF2_HMAC_SHA1 for key derivation,\n- EVP_aes_256_cbc cipher for encryption,\n- HMAC w. EVP_sha256 for digest.\n\nThe library has been built with Qt5 (OpenSource) and C++11.\n\n## Goals\n\nThe goal was to make the implementation the most secure, rather than super performant.\nA typical usage of such a store is to persist user credentials, encryption keys and other\nsensistive data (of small amount) on the disk that are accessed by \"unlocking\" the store with a password.\nWhen store is locked, no \"open text\" data remains in memory, including AES encryption keys.\n\n## Usage\n\nFor the very first time, a user shall create a vault instance protected with a password:\n\n```cpp\n#include \u003cQVault.h\u003e\n\nbool success = QVault::create(\"~/vault.bin\", \"mystrongpassword\");\n```\n\nAfter the store is created, the user must unlock it to being able set/get values:\n\n```cpp\nQVault vault(\"~/vault.bin\");\nbool success = vault.unlock(\"mystrongpassword\");\n\n// set a key-value pair\nvault.setValue(\"btc-wallet-key\", btcWalletKey);\n\n// get a value for the key\nbool ok;\nQString btcWalletKey = vault.getValue(\"btc-walled-key\", \u0026ok).toString();\n```\n\nTo change the password at any time (the store must be unlocked, of course):\n```cpp\nbool success = vault.changePassword(\"mynewstrongpassword\");\n```\n\nAfter you finished accessing the values, just lock() it to ensure no encryption keys or any data left in memory:\n```cpp\nvault.lock()\n```\n\n## Notes\n\n* All methods are synchronous and all write operations will commit all changes to the disk.\n* You cannot enumerate keys by design, because getting all keys are insecure operation.\n* You will need OpenSSL dev libs to be installed in your environment for this code to be built.\n\n## License\n\nGPLv3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinebit%2Fqvault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinebit%2Fqvault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinebit%2Fqvault/lists"}