{"id":21013763,"url":"https://github.com/pyro2927/sandman","last_synced_at":"2025-08-14T08:11:47.199Z","repository":{"id":11312944,"uuid":"13731853","full_name":"pyro2927/sandman","owner":"pyro2927","description":"SSH key management gem","archived":false,"fork":false,"pushed_at":"2013-10-22T03:26:01.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-12T09:54:55.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/pyro2927.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-21T03:07:16.000Z","updated_at":"2013-10-22T03:26:02.000Z","dependencies_parsed_at":"2022-09-13T08:01:44.196Z","dependency_job_id":null,"html_url":"https://github.com/pyro2927/sandman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyro2927/sandman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyro2927%2Fsandman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyro2927%2Fsandman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyro2927%2Fsandman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyro2927%2Fsandman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyro2927","download_url":"https://codeload.github.com/pyro2927/sandman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyro2927%2Fsandman/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270385467,"owners_count":24574556,"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-14T02:00:10.309Z","response_time":75,"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":[],"created_at":"2024-11-19T09:44:07.166Z","updated_at":"2025-08-14T08:11:47.157Z","avatar_url":"https://github.com/pyro2927.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sandman\n\nSandman is meant to help manage ssh keys on [GitHub](https://github.com/) and [BitBucket](https://bitbucket.org/).\n\n## Table of Contents\n* [Installation](#installation)\n* [Usage](#usage)\n    * [Setup](#setup)\n    * [Adding keys](#adding-keys)\n    * [Removing keys](#removing-keys)\n    * [Viewing keys](#viewing-keys)\n* [TODO](#todo)\n* [Contributing](#contributing)\n\n_Generated with [tocify](https://github.com/pyro2927/tocify)_\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'sandman'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install sandman\n\n## Usage\n\nSandman is generally meant to be used from the command line, though I guess you could use it through a script if you want.\n\n### Setup\n\nTo allow access to your GitHub and BitBucket accounts, you'll need to create a YAML formatted config file at `~/.sandman`.  Sample config shown below:\n\n    ---\n    :accounts:\n    - :login: pyro2927\n      :password: PASSWORD1\n      :type: Github\n    - :login: pyro2927\n      :password: LULZPASSWORD\n      :type: BitBucket\n\nYou can create a sample config by running `sandman createconfig`.\n\n### Adding keys\n\nSandman can add keys pasted into the terminal, though it can also read them from a file.  The name isn't required, though if you don't input one it will use the system's `hostname`.\n\n    $ sandman add \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3d5LXLEAOQBVooFVAxWHsolr...\" awesomekey\n    $ sandman add ~/.ssh/id_rsa.pub\n\n### Removing keys\n\nRemoving keys is just about as easy.  To remove a key, you must pass in a string it starts with, or the name/title of the key.\n\n    $ sandman rem \"ssh-rsa AAAAB3NzaC1yc2E\"\n    $ sandman rem oldkey\n\n**Warning: This checks against the starting text of your public key.  If you run `sandman rem ssh`, it will remove all of them.**\n\n### Viewing keys\n\nViewing keys will show your existing keys in any authenticated systems.  By default, keys will be truncated to prevent wrapping in the terminal, though they can be printed fully with `showfull`.\n\n    $ sandman show\n    $ sandman showfull\n\n## TODO\n\n- [ ] Enable public key marging, syncing all accounts specified\n- [ ] Allow arbitrary config file location\n- [ ] Support OAuth\n- [ ] Add in safeguards to prevent people from deleting all of their public keys\n- [ ] Fix crazy nokogiri conflicts between dependancies\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyro2927%2Fsandman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyro2927%2Fsandman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyro2927%2Fsandman/lists"}