{"id":16304836,"url":"https://github.com/moznion/naisho","last_synced_at":"2025-07-20T09:12:01.596Z","repository":{"id":26832480,"uuid":"30291779","full_name":"moznion/naisho","owner":"moznion","description":":email: :key: Send short encrypted message by GitHub ID","archived":false,"fork":false,"pushed_at":"2018-03-06T01:55:51.000Z","size":185,"stargazers_count":69,"open_issues_count":1,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-17T23:55:48.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/moznion.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}},"created_at":"2015-02-04T09:41:19.000Z","updated_at":"2024-10-16T09:48:08.000Z","dependencies_parsed_at":"2022-09-01T17:11:23.938Z","dependency_job_id":null,"html_url":"https://github.com/moznion/naisho","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/moznion/naisho","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fnaisho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fnaisho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fnaisho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fnaisho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moznion","download_url":"https://codeload.github.com/moznion/naisho/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moznion%2Fnaisho/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266094061,"owners_count":23875565,"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":[],"created_at":"2024-10-10T21:04:56.837Z","updated_at":"2025-07-20T09:12:01.577Z","avatar_url":"https://github.com/moznion.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"naisho [![Build Status](https://travis-ci.org/moznion/naisho.svg)](https://travis-ci.org/moznion/naisho) [![wercker status](https://app.wercker.com/status/16e7bca2a67cb41ec7b1ab9c4deeb2bb/s \"wercker status\")](https://app.wercker.com/project/bykey/16e7bca2a67cb41ec7b1ab9c4deeb2bb)\n==\n\n:email: :key: Send short encrypted message by GitHub ID\n\nDescription\n--\n\nEncrypt the short message by a ssh-rsa public key on GitHub,\nand send it by a mail to user's email address which is written on GitHub profile page.\n\nIt requires gmail account and authentication information, because\nthis program sends email via gmail.\n\nUsage\n--\n\nPut the configuration file of gmail on your home directory;\n\n```\ncat \u003c\u003cEOS \u003e$HOME/.naisho\naddress: example@gmail.com\npassword: PASSWORD\nEOS\n```\n\nAnd run the command;\n\n```\n$ naisho \u003cTarget GitHub ID\u003e \u003cMessage\u003e\n```\n\nThen it sends the email to target GitHub user's mail address (it is on profile page)\nwith an attachment which contains encrypted message.\n\nWhen you want to read a received attachment, you just execute following command;\n\n```\n$ openssl rsautl -decrypt -oaep -inkey \u003cYour Secret Key\u003e -in \u003cAttachment\u003e\n```\n\nNote\n--\n\nThis program gets ssh-rsa public keys from [https://github.com/user-id.keys](https://github.com/user-id.keys), it uses the __topmost__ key.\n\nAnd gets a target email address from [https://github.com/user-id](https://github.com/user-id)\n\nLength of the secret message differs depending on strength of the used key.\n\nAuthor\n--\n\nmoznion (\u003cmoznion@gmail.com\u003e)\n\nLicense\n--\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoznion%2Fnaisho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoznion%2Fnaisho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoznion%2Fnaisho/lists"}