{"id":24711466,"url":"https://github.com/marcvspt/gpg-pysuite","last_synced_at":"2025-10-16T02:38:48.074Z","repository":{"id":176195645,"uuid":"655132199","full_name":"marcvspt/gpg-pysuite","owner":"marcvspt","description":"Python GPG suite","archived":false,"fork":false,"pushed_at":"2023-09-18T00:04:59.000Z","size":30,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-09-18T01:24:29.062Z","etag":null,"topics":["gnupgp","gpg","pgp","python","python-gnupg","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/marcvspt.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}},"created_at":"2023-06-18T01:53:30.000Z","updated_at":"2023-09-18T01:24:29.063Z","dependencies_parsed_at":null,"dependency_job_id":"a95a3c03-0365-4435-87c1-3621c8ce5d5f","html_url":"https://github.com/marcvspt/gpg-pysuite","commit_stats":null,"previous_names":["atriox2510/pgp-pysuite","marcvspt/pgp-pysuite","marcvspt/pgpysuite"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcvspt%2Fgpg-pysuite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcvspt%2Fgpg-pysuite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcvspt%2Fgpg-pysuite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcvspt%2Fgpg-pysuite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcvspt","download_url":"https://codeload.github.com/marcvspt/gpg-pysuite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235813653,"owners_count":19048989,"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":["gnupgp","gpg","pgp","python","python-gnupg","python3"],"created_at":"2025-01-27T07:14:59.456Z","updated_at":"2025-10-09T11:30:53.651Z","avatar_url":"https://github.com/marcvspt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GPG Python Suite\n\nIn this repository we have a tool that use `python-gnupg`, **GPG Python Suite** doesn't import the **GPG keys** in the machine, the keys that you can generate are going to be exported in `.asc` files on the current directory.\n\n- [GPG Python Suite](#gpg-python-suite)\n  - [Download and Install](#download-and-install)\n  - [Usage](#usage)\n    - [Generate keys](#generate-keys)\n    - [Encrypt messages](#encrypt-messages)\n    - [Decrypt messages](#decrypt-messages)\n    - [Signing messages](#signing-messages)\n    - [Verify signatures](#verify-signatures)\n\n## Download and Install\n\n```bash\ngit clone https://github.com/marcvspt/gpg-pysuite\ncd gpg-pysuite/\npip3 install -r requirements.txt\n```\n\n## Usage\n\n```bash\n$ python3 gpg_pysuite.py -h\nusage: gpg_pysuite.py [-h] {generate,encrypt,decrypt,sign,verify}\n\nGnuPG Python suite\n\npositional arguments:\n  {generate,encrypt,decrypt,sign,verify}\n\noptions:\n  -h, --help            show this help message and exit\n```\n\n### Generate keys\n\n```bash\n$ python3 gpg_pysuite.py generate -h\nusage: gpg_pysuite.py generate [-h] -p PASSPHRASE -n NAME -e EMAIL [-b BASE_NAME] [--bits BITS]\n\nGenerate GPG key pair RSA\n\noptions:\n  -h, --help            show this help message and exit\n  -p PASSPHRASE, --passphrase PASSPHRASE\n                        Password for the private key\n  -n NAME, --name NAME  User name\n  -e EMAIL, --email EMAIL\n                        User e-mail\n  -b BASE_NAME, --base-name BASE_NAME\n                        Base name for the keys\n  --bits BITS           Key length in bits\n```\n\n### Encrypt messages\n\nThe tool can encrypt the messages with the **public key** (Asymmetric) and **private key** (Symmetric).\n\n```bash\n$ python3 gpg_pysuite.py encrypt -h\n\nEncrypt message with GPG\n\noptions:\n  -h, --help            show this help message and exit\n  -k GPG_KEY, --gpg-key GPG_KEY\n                        Path to GPG public key (Asymmetric) or private key (Symmetric)\n  -m MESSAGE, --message MESSAGE\n                        Message to encrypt\n  -o OUTFILE, --outfile OUTFILE\n                        Path to save the GPG message encrypted\n```\n\n### Decrypt messages\n\n```bash\n$ python3 gpg_pysuite.py decrypt -h\n\nDecrypt GPG encrypted message\n\noptions:\n  -h, --help            show this help message and exit\n  -k PRIV_KEY, --private-key PRIV_KEY\n                        Path to GPG private key\n  -p PASSPHRASE, --passphrase PASSPHRASE\n                        GPG private key password\n  -m MESSAGE, --message-file MESSAGE\n                        Path to GPG message encrypted\n  -o OUTFILE, --outfile OUTFILE\n                        Path to save the message decrypted\n```\n\n### Signing messages\n\n```bash\n$ python3 gpg_pysuite.py sign -h\nusage: gpg_pysuite.py sign [-h] -c PUBKEY -k PRIVKEY -p PASSPHRASE -m MESSAGE [-o OUTFILE]\n\nSign message with GPG\n\noptions:\n  -h, --help            show this help message and exit\n  -k PRIV_KEY, --private-key PRIV_KEY\n                        Path to GPG private key\n  -p PASSPHRASE, --passphrase PASSPHRASE\n                        GPG Private Key password\n  -m MESSAGE, --message MESSAGE\n                        Message to sign\n  -o OUTFILE, --outfile OUTFILE\n                        Path to save the GPG sessage signed\n```\n\n### Verify signatures\n\nThe tool can verify the signatures with the **public key**.\n\n```bash\n$ python3 gpg_pysuite.py verify -h\n\nVerify signature with GPG\n\noptions:\n  -h, --help            show this help message and exit\n  -c PUB_KEY, --public-key PUB_KEY\n                        Path to GPG public key\n  -m MESSAGE, --signed-message MESSAGE\n                        Path to signed message\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcvspt%2Fgpg-pysuite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcvspt%2Fgpg-pysuite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcvspt%2Fgpg-pysuite/lists"}