{"id":20217755,"url":"https://github.com/pforret/bumpkeys","last_synced_at":"2025-04-10T15:43:57.824Z","repository":{"id":144772090,"uuid":"332175774","full_name":"pforret/bumpkeys","owner":"pforret","description":"Upgrade your SSH keys for better security","archived":false,"fork":false,"pushed_at":"2021-01-23T23:26:56.000Z","size":914,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T13:36:09.441Z","etag":null,"topics":["bash","bashew","crypto","ecdsa","ed25519","rsa","security","security-audit","ssh","ssh-key"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pforret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-01-23T09:46:17.000Z","updated_at":"2024-06-04T21:36:54.000Z","dependencies_parsed_at":"2023-04-26T00:02:58.271Z","dependency_job_id":null,"html_url":"https://github.com/pforret/bumpkeys","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":"pforret/bashew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbumpkeys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbumpkeys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbumpkeys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbumpkeys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/bumpkeys/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243499,"owners_count":21071054,"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":["bash","bashew","crypto","ecdsa","ed25519","rsa","security","security-audit","ssh","ssh-key"],"created_at":"2024-11-14T06:35:32.100Z","updated_at":"2025-04-10T15:43:57.813Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![bash_unit CI](https://github.com/pforret/bumpkeys/workflows/bash_unit%20CI/badge.svg)\n![Shellcheck CI](https://github.com/pforret/bumpkeys/workflows/Shellcheck%20CI/badge.svg)\n![GH Language](https://img.shields.io/github/languages/top/pforret/bumpkeys)\n![GH stars](https://img.shields.io/github/stars/pforret/bumpkeys)\n![GH tag](https://img.shields.io/github/v/tag/pforret/bumpkeys)\n![GH License](https://img.shields.io/github/license/pforret/bumpkeys)\n[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash\u0026style=flat)](https://basher.gitparade.com/package/)\n\n# bumpkeys\n\n![Bumpkeys logo](assets/bumpkeys.jpg)\n\nUpgrade your SSH keys for better security\n\nInspired by [Upgrade your SSH keys! (2016)](https://blog.g3rt.nl/upgrade-your-ssh-keys.html) and [Secure Secure Shell (2015)](https://stribika.github.io/2015/01/04/secure-secure-shell.html)\n\n## Installation\n\nwith [basher](https://github.com/basherpm/basher)\n\n\t$ basher install pforret/bumpkeys\n\nor with `git`\n\n\t$ git clone https://github.com/pforret/bumpkeys.git\n\t$ cd bumpkeys\n\n## Usage\n\n### USAGE\n\n    Program: bumpkeys 0.1.0 by peter@forret.com\n    Updated: Jan 23 14:41:35 2021\n    Description: Upgrade your SSH keys for better security\n    Usage: bumpkeys [-?] [-q] [-v] [-f] [-o] [-t \u003calgorithm\u003e] [-a \u003ctrials\u003e] [-b \u003crsabits\u003e] [-l \u003clog_dir\u003e] [-t \u003ctmp_dir\u003e] [-d \u003ckey_dir\u003e] \u003caction\u003e\n    Flags, options and parameters:\n    -?|--help        : [flag] show usage [default: off]\n    -q|--quiet       : [flag] no output [default: off]\n    -v|--verbose     : [flag] output more [default: off]\n    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]\n    -o|--rfc4716     : [flag] use RFC4716 key format (only on recent ssh installations) [default: off]\n    -t|--algorithm \u003c?\u003e: [option] algorithm for asymmetric keys: rsa/ed25519  [default: ed25519]\n    -a|--trials \u003c?\u003e  : [option] number of primality tests  [default: 100]\n    -b|--rsabits \u003c?\u003e : [option] key length for RSA key pairs  [default: 4096]\n    -l|--log_dir \u003c?\u003e : [option] folder for log files   [default: /Users/pforret/log/bumpkeys]\n    -t|--tmp_dir \u003c?\u003e : [option] folder for temp files  [default: .tmp]\n    -d|--key_dir \u003c?\u003e : [option] SSH folder to check/upgrade  [default: /Users/pforret/.ssh]\n    \u003caction\u003e         : [parameter] action to perform: analyze/create/protect\n    \n    ### TIPS \u0026 EXAMPLES\n    * use bumpkeys check to check if this script is ready to execute and what values the options/flags are\n    * use bumpkeys analyze to analyze all SSH keys in the folder\n      bumpkeys analyze\n    * use bumpkeys create to create new modern secure SSH key pair\n      bumpkeys create\n    * use bumpkeys protect to add password to existing key pairs\n      bumpkeys protect\n    * \u003e\u003e\u003e bash script created with pforret/bashew\n    * \u003e\u003e\u003e for developers, also check pforret/setver\n\n### bumpkeys analyze\n```\n\u003e ./bumpkeys -d tests/test_keys analyze \n#created   | filename             | algorithm  | bits | security\n2021-01-23 | id_ec_bcrypt         | ED25519    |  256 | OK\n2021-01-23 | id_ecdsa_256         | ECDSA      |  256 | ⚠️ UPGRADE!\n2021-01-23 | id_encrypted         | RSA        | 3072 | OK\n2021-01-23 | id_rsa_1024          | RSA        | 1024 | 🛑 UPGRADE!!\n2021-01-23 | id_rsa_2048          | RSA        | 2048 | ⚠️ UPGRADE!\n2021-01-23 | id_rsa_sha512        | RSA        | 3072 | OK \n```\n\n## Acknowledgements\n\n* script created with [bashew](https://github.com/pforret/bashew)\n\n\u0026copy; 2021 Peter Forret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fbumpkeys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Fbumpkeys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fbumpkeys/lists"}