{ "info": { "author": "Pellegrino Prevete", "author_email": "pellegrinoprevete@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: Unix", "Programming Language :: Python :: 3" ], "description": "# PGPgram\n\n[![Python 3.x Support](https://img.shields.io/pypi/pyversions/Django.svg)](https://python.org)\n[![License: AGPL v3+](https://img.shields.io/badge/license-AGPL%20v3%2B-blue.svg)](http://www.gnu.org/licenses/agpl-3.0) \n\n![PGPgram example usage](https://raw.githubusercontent.com/tallero/PGPgram/master/screenshots/pgpgram-in-action.gif)\n\n*PGPgram* is a [GPG](https://gnupg.org) encrypted backup/restore tool written in `python` using [TDLib](https://github.com/tdlib/td). It locally encrypts your files with GnuPG, before they get sent to telegram cloud.\n\n## Motivation\n\nI've come to hate telegram. At the beginning, they were like \"we're gonna open source everything after some time, we care about privacy\", then\n\n- they've [never](https://twitter.com/ch3ckmat3/status/517144635466989568) [released](https://twitter.com/RebRied/status/555398577351315456) [the source](https://twitter.com/moxie/status/582276833082650625) [of the server](https://twitter.com/AlexeyMetz/status/583122792654213120) (over 5 years have passed),\n\n- they didn't improve secret chats algorithm so that it could be the default way of sending messages without lacking features (going instead with a *curious*, to say the least [apology](https://telegra.ph/Why-Isnt-Telegram-End-to-End-Encrypted-by-Default-08-14) of unecrypted [remote storage](https://xkcd.com/908/), despite aknowledging the existence of credential recovery [schemes](https://postmarkapp.com/guides/password-reset-email-best-practices) secure at least as their [authentication](https://www.theverge.com/2017/9/18/16328172/sms-two-factor-authentication-hack-password-bitcoin);\n\n- they didn't ported secret chats to [desktop](https://github.com/telegramdesktop/tdesktop/issues?utf8=%E2%9C%93&q=is%3Aissue+secret+chat+);\n\n- they competed unfairly in respect to other opensource IM projects, locking in users with over the top [short to last](https://arstechnica.com/information-technology/2015/11/microsoft-drops-unlimited-onedrive-storage-after-people-use-it-for-unlimited-storage/) [features](https://telegram.org/blog/files-on-steroids) made possible by their huge dollar backing ([Durov](https://en.wikipedia.org/wiki/Pavel_Durov)), like [not specified storage quota size](https://www.reddit.com/r/Telegram/comments/7ujfqp/the_maximum_size_of_file_size_that_can_be_sent/) (heck, what do you think you are, Gmail in 2004?).\n\n- their positions is not so much clear; regarding copyright infringements they put theirselves in a gray area; having strong opinions on the matter I am concerned that there exist loopholes in their statements.\n\nSo now telegram boasts itself as a privacy champion in the instant messaging space, although previous points tell us quite the opposite. Also, their press material is always very careful with words, so that their statements can easily lead uninformed users to think that their service is secure:\nthey don't mention that's as true as when you say that Skype is secure, not as when you say that *GNUpg is secure* and you should know [why](https://en.wikipedia.org/wiki/Security_through_obscurity).\n\n## So why did I write PGPgram?\nI wrote it as proof-of-concept to show that it could be easy to have (whatever) encryption implemented by default on telegram.\nNot that counts anyway, because telegram API [terms of services](https://core.telegram.org/api/terms) indirectly prohibit use of encryption over its servers:\n\n*it is forbidden to force users of other telegram clients to download your app to view CERTAIN messages and content sent using your app*,\n\nwhich is indeed what an encrypted by default version of telegram would do, even by keeping retrocompatibility.\n\nIt should be noted notice that PGPgram does not violate that rule, since the contents it produce are not meant to be shared with other telegram users.\n\nAt the time of writing it would be just a matter of time to convert PGPgram to a full fledged telegram client, using other encryption schemes that preserve message sharing among devices, forward secrecy or secret group chats and bots.\n\n## Installation\n\n*PGPgram* is available through the [Python Package Index (PyPI)](https://pypi.org/). Pip is pre-installed if `python >= 3.4` has been downloaded from [python.org](https://python.org); if you're using a GNU/Linux distribution, you can find how to install it on this [page](https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers).\n\nAfter setting up pip, you can install *PGPgram* by simply typing in your terminal\n\n # pip3 install pgpgram\n\n## Usage\n\n*PGPgram* install a command line utility with the same name, `pgpgram`, that can be used to `backup`, `restore`, `search` and `list` files. You can invoke command line help with `pgpgram --help` and get command options with\n\n pgpgram --help\n\n![PGPgram search](https://raw.githubusercontent.com/tallero/PGPgram/master/screenshots/pgpgram-search.gif)\n\nThe application requires `split`, `cat`, `dd`, `sha256sum` and `gpg` to be present on your system, so maybe macOS users will need to make some aliases. At the moment file deletion is not handled because I reached time limit for unpaid development.\n\n## About\n\nThis program is licensed under [GNU Affero General Public License v3 or later](https://www.gnu.org/licenses/gpl-3.0.en.html) by [Pellegrino Prevete](http://prevete.ml).
\nTDLib is licensed under the terms of the [Boost Software License](http://www.boost.org/LICENSE_1_0.txt).
\nIf you find this program useful, consider offering me a [beer](https://patreon.com/tallero), a new [computer](https://patreon.com/tallero) or a part time remote [job](mailto:pellegrinoprevete@gmail.com) to help me pay the bills.\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tallero/PGPgram", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "PGPgram", "package_url": "https://pypi.org/project/PGPgram/", "platform": "", "project_url": "https://pypi.org/project/PGPgram/", "project_urls": { "Homepage": "https://github.com/tallero/PGPgram" }, "release_url": "https://pypi.org/project/PGPgram/0.1.5/", "requires_dist": [ "setproctitle", "trovotutto", "pyxdg" ], "requires_python": "", "summary": "GPG encrypted backups on telegram", "version": "0.1.5" }, "last_serial": 4679275, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "56ef60247b44a5fbbf8e8e960eba989c", "sha256": "a1338662458681c3c9d824c1e26b3a96fdef49c7a4798c19cdeefcb1ad188edc" }, "downloads": -1, "filename": "PGPgram-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "56ef60247b44a5fbbf8e8e960eba989c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5778561, "upload_time": "2018-10-10T13:06:12", "url": "https://files.pythonhosted.org/packages/02/28/a98dbafc943767e896411aa692f4c8eae752860badc42c59a7ebc5ca7317/PGPgram-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c9966d934b24299cc6aeca7dec5331c", "sha256": "cda81c9e1e15366bea9ef0fda21552beee2ea4e5009923b7ce29c3161802754e" }, "downloads": -1, "filename": "PGPgram-0.1.tar.gz", "has_sig": false, "md5_digest": "9c9966d934b24299cc6aeca7dec5331c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5721779, "upload_time": "2018-10-10T13:06:18", "url": "https://files.pythonhosted.org/packages/b3/77/60e106524b9294129eb9383511fb14e0ded15215a36884282735efaeed64/PGPgram-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5c32bcce9189d7caf36acfd88fbef963", "sha256": "4d7bc961d044834fea261aff49c1a1df3c6c54c468edfe3f507c2ca28405ab52" }, "downloads": -1, "filename": "PGPgram-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5c32bcce9189d7caf36acfd88fbef963", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5778593, "upload_time": "2018-10-10T19:02:32", "url": "https://files.pythonhosted.org/packages/08/50/cbb4e7f7aceb317feb51a9be30614c2d762eba27d9de644b1bc5f4c3c927/PGPgram-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7cbaf3afc8a3b9590d8f5aada2bc6b1d", "sha256": "7c02fae174377e0319b088818a9d13aab01bc5f6ee016d4bf3d77c81f48fd24d" }, "downloads": -1, "filename": "PGPgram-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7cbaf3afc8a3b9590d8f5aada2bc6b1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5721816, "upload_time": "2018-10-10T19:02:38", "url": "https://files.pythonhosted.org/packages/27/9c/c8dfd438b34f89e42114103e03100d73e99dfe9b71cf0560ee81dd1dd2f4/PGPgram-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "128617dd2fd9969ae6089187a918f832", "sha256": "060445709560309d7b10c71c5efe7dd2a80373c192a4d14efe810c68ab53e876" }, "downloads": -1, "filename": "PGPgram-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "128617dd2fd9969ae6089187a918f832", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5778624, "upload_time": "2018-10-10T23:23:32", "url": "https://files.pythonhosted.org/packages/33/69/c3980459ca28ffb87464d0dd0df9f043a6475e026451c3603bb78838f8e6/PGPgram-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "15d7f5b6d660eec0beefcc4487d2f777", "sha256": "6596643dd53d4d3b8abd0358f35e1524b32f49ba4c1e95c7e5ad61b05301079e" }, "downloads": -1, "filename": "PGPgram-0.1.2.tar.gz", "has_sig": false, "md5_digest": "15d7f5b6d660eec0beefcc4487d2f777", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5721860, "upload_time": "2018-10-10T23:23:37", "url": "https://files.pythonhosted.org/packages/f3/1a/cf17c4ae3c682accf7c2b9f800d31c02d8cfe4d54b1efd83a1fbc512d94e/PGPgram-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "d7ca24bbf8b907db755080db8022ea4e", "sha256": "32f516ee66e2f72962da7785458da357ab1ea8bdc08cfc244f2b100fda50945e" }, "downloads": -1, "filename": "PGPgram-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d7ca24bbf8b907db755080db8022ea4e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5778652, "upload_time": "2018-10-12T02:44:29", "url": "https://files.pythonhosted.org/packages/b2/e5/f0ad3d5cd7d1b764e3ca83710a7656963eed957c3bc85e18c2139e9257da/PGPgram-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec0ed96fc6a4f0f154d163cab2e63c24", "sha256": "044697f6e7cfb19c4c68a3dacedf265415074785d043e04ee124c69fb62e5d18" }, "downloads": -1, "filename": "PGPgram-0.1.3.tar.gz", "has_sig": false, "md5_digest": "ec0ed96fc6a4f0f154d163cab2e63c24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5721915, "upload_time": "2018-10-12T02:45:24", "url": "https://files.pythonhosted.org/packages/47/0a/0e427ee67ab10434a6add7670bd8bdf56d1e657cf6a7f6023c2e285b934f/PGPgram-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "8b159cf4625286ce9807c229156865e6", "sha256": "c88c0d5648767c9705e2be7ee9fcdc24637db38d2275fcc07cfbf7c335eb417d" }, "downloads": -1, "filename": "PGPgram-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "8b159cf4625286ce9807c229156865e6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5778642, "upload_time": "2018-10-13T14:50:41", "url": "https://files.pythonhosted.org/packages/4a/0e/c992edcd46c8562133ddf1bc3e5a1e6c7538be0ff1d5b5b4510f1988da57/PGPgram-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c009f5547b7d6e774130aa41bbb8de5", "sha256": "f7c583a5aa1a2896a9b7e475d7aedafd67fb0845c706b564a9989ea74e41100e" }, "downloads": -1, "filename": "PGPgram-0.1.4.tar.gz", "has_sig": false, "md5_digest": "5c009f5547b7d6e774130aa41bbb8de5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5721888, "upload_time": "2018-10-13T14:54:05", "url": "https://files.pythonhosted.org/packages/40/06/7f3343120d08bf8041c0e29374ab02c6aa0a6c4d47ed9f064fb1f80fc8ad/PGPgram-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "c66ebcd527d560f9fe8da027ab32d99d", "sha256": "12de8c8d1170d8249a073c44b6aedea8b3fc4aaad035b8c9ec734b28666972b5" }, "downloads": -1, "filename": "PGPgram-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "c66ebcd527d560f9fe8da027ab32d99d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5778351, "upload_time": "2019-01-10T02:23:03", "url": "https://files.pythonhosted.org/packages/5a/1a/feb83d93678f2a7df6cc448bc48231f7f4c49f27480359a64742abb6e2f0/PGPgram-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f96644dcf7a4882ff4edc3d14a406767", "sha256": "8fba7172c760bcc88016b6d11f9e6577ecba205f1b2c36395cf6c1b15c2329f9" }, "downloads": -1, "filename": "PGPgram-0.1.5.tar.gz", "has_sig": false, "md5_digest": "f96644dcf7a4882ff4edc3d14a406767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5722476, "upload_time": "2019-01-10T02:23:26", "url": "https://files.pythonhosted.org/packages/a9/60/98807c310596bb10e3c8ef55f310f8305bab026d8664eef50a3ff1f293c0/PGPgram-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c66ebcd527d560f9fe8da027ab32d99d", "sha256": "12de8c8d1170d8249a073c44b6aedea8b3fc4aaad035b8c9ec734b28666972b5" }, "downloads": -1, "filename": "PGPgram-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "c66ebcd527d560f9fe8da027ab32d99d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5778351, "upload_time": "2019-01-10T02:23:03", "url": "https://files.pythonhosted.org/packages/5a/1a/feb83d93678f2a7df6cc448bc48231f7f4c49f27480359a64742abb6e2f0/PGPgram-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f96644dcf7a4882ff4edc3d14a406767", "sha256": "8fba7172c760bcc88016b6d11f9e6577ecba205f1b2c36395cf6c1b15c2329f9" }, "downloads": -1, "filename": "PGPgram-0.1.5.tar.gz", "has_sig": false, "md5_digest": "f96644dcf7a4882ff4edc3d14a406767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5722476, "upload_time": "2019-01-10T02:23:26", "url": "https://files.pythonhosted.org/packages/a9/60/98807c310596bb10e3c8ef55f310f8305bab026d8664eef50a3ff1f293c0/PGPgram-0.1.5.tar.gz" } ] }