{"id":16242915,"url":"https://github.com/jpmens/genkeyx","last_synced_at":"2026-02-08T09:03:17.469Z","repository":{"id":253090279,"uuid":"842425901","full_name":"jpmens/genkeyx","owner":"jpmens","description":"Generate XML *.keyx files for KeePass(XC)","archived":false,"fork":false,"pushed_at":"2024-09-01T13:36:59.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-08-02T21:39:33.772Z","etag":null,"topics":["keepass","keepassxc","sha256","xml"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpmens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-14T10:25:06.000Z","updated_at":"2025-06-02T05:48:16.000Z","dependencies_parsed_at":"2025-04-03T16:34:27.960Z","dependency_job_id":"bc60128d-97bf-4e30-abf6-ba3f51802ea7","html_url":"https://github.com/jpmens/genkeyx","commit_stats":null,"previous_names":["jpmens/genkeyx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jpmens/genkeyx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fgenkeyx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fgenkeyx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fgenkeyx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fgenkeyx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpmens","download_url":"https://codeload.github.com/jpmens/genkeyx/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmens%2Fgenkeyx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269201172,"owners_count":24377450,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["keepass","keepassxc","sha256","xml"],"created_at":"2024-10-10T14:13:19.652Z","updated_at":"2026-02-08T09:03:12.380Z","avatar_url":"https://github.com/jpmens.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\ngenkeyx - generate XML .keyx files for KeePass(XC)\n\n# SYNOPSIS\n\ngenkeyx \\[-o *file*\\] \\[-v\\]\n\n# DESCRIPTION\n\n*genkeyx* creates a 32-byte random value and a SHA256 hash of it and\nformats these values as an XML document ready for use in KeePass and/or\nKeePassXC.\n\nQuoting from \u003chttps://keepass.info/help/base/keys.html\u003e:\n\n\u003e XML (recommended, default). There is an XML format for key files.\n\u003e KeePass 2.x uses this format by default, i.e. when creating a key file\n\u003e in the master key dialog, an XML key file is created. The syntax and\n\u003e the semantics of the XML format allow to detect certain corruptions\n\u003e (especially such caused by faulty hardware or transfer problems), and\n\u003e a hash (in XML key files version 2.0 or higher) allows to verify the\n\u003e integrity of the key. This format is resistant to most encoding and\n\u003e new-line character changes (which is useful for instance when the user\n\u003e is opening and saving the key file or when transferring it from/to a\n\u003e server). Such a key file can be printed (as a backup on paper), and\n\u003e comments can be added in the file (with the usual XML syntax:\n\u003e `\u003c!-- ... --\u003e`). It is the most flexible format; new features can be\n\u003e added easily in the future.\n\n*genkeyx* generates 32 bytes of random data, creates a SHA256 hash of\nthat, adds the first four bytes of the hash to `Data Hash`, and appends\nthe prettyfied 32 hexlified bytes to the XML.\n\n# OPTIONS\n\n*genkeyx* understands the following global options:\n\n-o  \nWrite the XML document into the specified file instead of to *stdout*.\n\n-v  \nShow version and exit.\n\n# EXAMPLES\n\nCreate an XML keyx document:\n\n    $ genkeyx\n    \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n    \u003cKeyFile\u003e\n        \u003cMeta\u003e\n        \u003cVersion\u003e2.0\u003c/Version\u003e\n        \u003c/Meta\u003e\n        \u003cKey\u003e\n        \u003cData Hash=\"7CE2614B\"\u003e\n            4C98A7F0 9CA623F7 5E92F566 EE0A70A8\n            21D6ACF4 D645CFDF FFB77A88 73A5E2AB\n        \u003c/Data\u003e\n        \u003c/Key\u003e\n    \u003c/KeyFile\u003e\n\n# BUGS\n\nMaybe not.\n\n# RETURN CODES\n\n*genkeyx* exits with a code 0 on success and non-zero on failure after\nindicating what caused the failure.\n\n# AVAILABILITY\n\n\u003chttp://github.com/jpmens/genkeyx\u003e\n\n# AUTHOR\n\nJan-Piet Mens \u003chttp://jpmens.net\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmens%2Fgenkeyx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpmens%2Fgenkeyx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmens%2Fgenkeyx/lists"}