{"id":19944958,"url":"https://github.com/ehforwarderbot/efb-gpg-middleware","last_synced_at":"2025-10-08T16:16:07.641Z","repository":{"id":57425756,"uuid":"119788893","full_name":"ehForwarderBot/efb-gpg-middleware","owner":"ehForwarderBot","description":"EFB GPG Middleware: Encrypts and decrypts messages using GnuPG.","archived":false,"fork":false,"pushed_at":"2021-07-02T16:02:39.000Z","size":104,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T05:04:41.430Z","etag":null,"topics":["efb-middleware","eh-forwarder-bot","gnupg","gpg"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ehForwarderBot.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["blueset"],"ko_fi":"blueset","liberapay":"blueset","custom":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=ilove%401a23.com\u0026item_name=Buy+Eana+a+cup+of+coffee\u0026currency_code=USD\u0026source=url"]}},"created_at":"2018-02-01T05:45:53.000Z","updated_at":"2021-07-02T15:46:25.000Z","dependencies_parsed_at":"2022-09-19T05:21:40.800Z","dependency_job_id":null,"html_url":"https://github.com/ehForwarderBot/efb-gpg-middleware","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ehForwarderBot/efb-gpg-middleware","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehForwarderBot%2Fefb-gpg-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehForwarderBot%2Fefb-gpg-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehForwarderBot%2Fefb-gpg-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehForwarderBot%2Fefb-gpg-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehForwarderBot","download_url":"https://codeload.github.com/ehForwarderBot/efb-gpg-middleware/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehForwarderBot%2Fefb-gpg-middleware/sbom","scorecard":{"id":369516,"data":{"date":"2025-08-11","repo":{"name":"github.com/ehForwarderBot/efb-gpg-middleware","commit":"634ab076e763d0cd8ed476e1c2c454ee56df7a50"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ehForwarderBot/efb-gpg-middleware/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/ehForwarderBot/efb-gpg-middleware/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/ehForwarderBot/efb-gpg-middleware/codeql-analysis.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":10,"reason":"SAST tool detected: CodeQL","details":["Info: SAST configuration detected: CodeQL","Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: GNU Affero General Public License v3.0: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.1 not signed: https://api.github.com/repos/ehForwarderBot/efb-gpg-middleware/releases/45633345","Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/ehForwarderBot/efb-gpg-middleware/releases/22768262","Warn: release artifact v1.1.1 does not have provenance: https://api.github.com/repos/ehForwarderBot/efb-gpg-middleware/releases/45633345","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/ehForwarderBot/efb-gpg-middleware/releases/22768262"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T12:39:15.575Z","repository_id":57425756,"created_at":"2025-08-18T12:39:15.575Z","updated_at":"2025-08-18T12:39:15.575Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278974240,"owners_count":26078377,"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-10-08T02:00:06.501Z","response_time":56,"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":["efb-middleware","eh-forwarder-bot","gnupg","gpg"],"created_at":"2024-11-13T00:23:37.088Z","updated_at":"2025-10-08T16:16:07.601Z","avatar_url":"https://github.com/ehForwarderBot.png","language":"Python","readme":"EFB GPG Middleware\n==================\n\n.. image:: https://img.shields.io/pypi/v/efb-gpg-middleware.svg\n   :alt: PyPI release\n   :target: https://pypi.org/project/efb-gpg-middleware/\n.. image:: https://pepy.tech/badge/efb-gpg-middleware/month\n   :alt: Downloads per month\n   :target: https://pepy.tech/project/efb-gpg-middleware\n.. image:: https://d322cqt584bo4o.cloudfront.net/ehforwarderbot/localized.svg\n   :alt: Translate this project\n   :target: https://crowdin.com/project/ehforwarderbot/\n\n.. image:: https://github.com/ehForwarderBot/efb-gpg-middleware/raw/master/banner.png\n   :alt: Banner\n\n**Module ID**: ``blueset.gpg``\n\nA middleware for EH Forwarder Bot that encrypts and\ndecrypts messages using GnuPG.\n\nThis middleware simply encrypts outgoing messages with\nrecipients' registered public key, and decrypt incoming\nmessages with your own secret key.\n\nAll encrypted messages should be and will be ASCII\narmored. All messages that was not successfully\nencrypted/decrypted will be delivered untouched.\n\nThis middleware only encrypt/decrypt text messages.\nOther types of messages are kept untouched.\n\nDependencies\n------------\n\n* EH Forwarder Bot \u003e=2.0\n* GnuPG\n* An imported key pair that is used to decrypt incoming\n  messages\n\nGetting Started\n---------------\n\n1. Make sure you have access to a public key server\n   of your choice using the ``gpg`` installed.\n2. Have at least one key pair registered in local GPG.\n3. Install this middleware::\n\n    pip3 install efb-gpg-middleware\n\n4. Create a config file in your current EFB profile:\n   ``\u003cPATH_TO_EFB_PROFILE\u003e/blueset.gpg/config.yaml``::\n\n        # Signature of your own key pair (required)\n        key: BD6B65EC00638DC9083781D5D4B65BB1A106200A\n\n        # Passphrase to the key pair (optional)\n        password: test\n\n        # Trust all key in the local stoage\n        # (optional, default: true)\n        always_trust: true\n\n        # Path to the GPG binary\n        # (optional, default: search from $PATH)\n        binary: /usr/bin/gpg\n\n        # Preferred public key server\n        # (optional, default: pgp.mit.edu)\n        server: pgp.mit.edu\n\n\nHow to use\n----------\n\nSend commands as text messages in chats to interact with\nthe middleware. All command messages will not be\ndelivered to slave channel.\n\n* ``gpg`info`` or ``gpg`show``: Show the key fingerprint used for this chat.\n* ``gpg`search query``: Search for a key from the key server.\n* ``gpg`bind fingerprinthex``: Use key for specified fingerprint for a chat.\n* ``gpg`clear``: Do not encrypt messages sent to this chat.\n\nWhen you have told the middleware to use a key for a chat,\nit will encrypt all your text messages sent to this chat with\nthe key specified.\n\nThe middleware will try to decrypt all incoming text messages\nwith GnuPG regardless of settings, and only update the message\nif the decryption is successful.\n\nFootnote\n--------\n\nIf you find this module not as useful, don’t be disappointed. This is just\na demo to show you what you can do with EFB Middlewares.\n\nExperimental localization support\n---------------------------------\n\nGPG Middleware supports localized user interface prompts\nexperimentally, by setting the locale environmental variable\n(``LANGUAGE``, ``LC_ALL``, ``LC_MESSAGES`` or ``LANG``) to one\nof our `supported languages`_. Meanwhile, you can help to\ntranslate this project into your languages on `our Crowdin page`_.\n\n.. _supported languages: https://crowdin.com/project/ehforwarderbot/\n.. _our Crowdin page: https://crowdin.com/project/ehforwarderbot/","funding_links":["https://github.com/sponsors/blueset","https://ko-fi.com/blueset","https://liberapay.com/blueset","https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=ilove%401a23.com\u0026item_name=Buy+Eana+a+cup+of+coffee\u0026currency_code=USD\u0026source=url"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehforwarderbot%2Fefb-gpg-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehforwarderbot%2Fefb-gpg-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehforwarderbot%2Fefb-gpg-middleware/lists"}