{ "info": { "author": "Kouhei Maeda", "author_email": "mkouhei@palmtb.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: ISC License (ISCL)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: System", "Topic :: System :: Archiving", "Topic :: System :: Archiving :: Packaging", "Topic :: System :: Software Distribution" ], "description": "===============================================\n pydebsign is a yet another library of debsign\n===============================================\n\nStatus\n------\n\n.. image:: https://secure.travis-ci.org/mkouhei/pydebsign.png?branch=devel\n :target: http://travis-ci.org/mkouhei/pydebsign\n.. image:: https://coveralls.io/repos/mkouhei/pydebsign/badge.png?branch=devel\n :target: https://coveralls.io/r/mkouhei/pydebsign?branch=devel\n.. image:: https://pypip.in/v/pydebsign/badge.png\n :target: https://crate.io/packages/pydebsign\n.. image:: https://readthedocs.org/projects/pydebsign/badge/?version=latest\n :target: https://readthedocs.org/projects/pydebsign/?badge=latest\n :alt: Documentation Status\n\nMotivation\n----------\n\n`debsign` is a command of devscripts that sign a Debian .changes and .dsc file pare using GPG,\nthe command cannot use in environment witout TTY, for example invokeking by CI.\n\nI had tried to use debsign from `subprocess` module of Python as follow,\nbut entering passphrase prompt is always returned.\nIt was the same in the case of using gnupg-agent and keyring.::\n\n >>> import subprocess\n >>> import shlex\n >>> command0 = 'echo -e \"%s\\n%s\\n\"' % (`passphrase`, `passphrase`)\n >>> command1 = '/usr/bin/debsign -k %s %s' % (`keyid`, `.changes`)\n >>> process0 = subprocess.Popen(shlex.split(command0),\n ... stdin=subprocess.PIPE,\n ... stdout=subprocess.PIPE,\n ... stderr=subprocess.PIPE)\n >>> process1 = subprocess.Popen(shlex.split(command1),\n ... stdin=process0.stdout,\n ... stdout=subprocess.PIPE,\n ... stderr=subprocess.PIPE)\n >>> stdout, stderr = process.communicate()\n\nSo, I decided to make a Python library to do the same behavior debsign.\n\n\nGoal\n----\n\n* It is enable to sign `.changes` and `.dsc` files with GPG without the input of interactive passphrase.\n* It can also be used by a user can not login shell on the CI, such as Jenkins.\n\n\nRequires\n--------\n\n* Debian system, or the system derived from Debian.\n\n * Debian GNU/Linux Wheezy\n * Debian GNU/Linux Jessie/Sid\n * Ubuntu 14.04 LTS\n\n* Debian package as follows;\n\n * gnupg\n * dput\n * lintian\n * python (= python2.7) or python3\n\n* Python packages as follows;\n\n * python_gnupg (as debian package is python-gnupg or python3-gnupg)\n * python_debian (as debian package is python-debian or python3-debian)\n * chardet (as debian package is python-chardet or python3-chardet)\n\n\nUsage\n-----\n\nGeneric usage;::\n\n >>> from pydebsign import debsign\n >>> debsign.debsign_process('/path/to/some.changes', passphrase='secretkey')\n\n\nWhen use another GPG Keyring instead of default GPG keyring;::\n\n >>> from pydebsign import debsign\n >>> debsign.debsign_process('/path/to/some.changes', passphrase='secretkey',\n ... keyid='keyid', gnupghome='/path/to/gpghome')\n\nHistory\n-------\n\n0.1.5 (2015-08-25)\n^^^^^^^^^^^^^^^^^^\n\n* Changes Sphinx theme to sphinx_rtd_theme.\n* Merge pull request #9 from mkouhei/travis-packages\n* Adds execute apt-get update.\n* Enabled sudo explicitly.\n\n0.1.4 (2014-12-21)\n^^^^^^^^^^^^^^^^^^\n\n* Unsupported Python 3.2\n* Added Sphinx documents and applied Read the docs\n* Migrated pep8, pyflakes, pychecker, pylint to Tox\n\n0.1.3 (2014-05-31)\n^^^^^^^^^^^^^^^^^^\n\n* Fixed #6 dput check local section is failed\n* Unsupported Python2.6\n\n0.1.2 (2014-05-27)\n^^^^^^^^^^^^^^^^^^\n\n* Fixed #3 cannot decode umlaut.\n\n0.1.1 (2014-05-26)\n^^^^^^^^^^^^^^^^^^\n\n* Resolved the backward compatibility for python_gnupg 0.3.0 (Wheezy version).\n\n0.1.0 (2014-05-26)\n^^^^^^^^^^^^^^^^^^\n\n* Initial release\n\nTODO\n----\n\n* Adding command line interface.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mkouhei/pydebsign", "keywords": null, "license": "ISC License", "maintainer": null, "maintainer_email": null, "name": "pydebsign", "package_url": "https://pypi.org/project/pydebsign/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pydebsign/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mkouhei/pydebsign" }, "release_url": "https://pypi.org/project/pydebsign/0.1.5/", "requires_dist": null, "requires_python": null, "summary": "yet another library of debsign", "version": "0.1.5" }, "last_serial": 1692494, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "23fc031af050e61193537a910a8cdbf5", "sha256": "aa9e8bf7218073c7083957a008769a6ffc4e76b51a31662bb66f326a8986b039" }, "downloads": -1, "filename": "pydebsign-0.1.0.tar.gz", "has_sig": false, "md5_digest": "23fc031af050e61193537a910a8cdbf5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26990, "upload_time": "2014-05-26T06:54:14", "url": "https://files.pythonhosted.org/packages/a7/28/a899c94be1ed77187374b4eac040d5a1d69a1b5d841949fe2daf2b86bf9a/pydebsign-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d01c923938a4ba1c8dece49810f50a7f", "sha256": "8788cd918da6588c83d049a603874011c91437b5e713738a4d4b34d3bb83e61a" }, "downloads": -1, "filename": "pydebsign-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d01c923938a4ba1c8dece49810f50a7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27098, "upload_time": "2014-05-26T09:36:42", "url": "https://files.pythonhosted.org/packages/94/85/29f7fbcc91875f8f768145c293342e3a6815aef1debb9c99abae3712e519/pydebsign-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "7d535ea61ff3a76ebc93ed5a402e7a6d", "sha256": "4bfb266a0d01d63764e5d143a226d9918ab291b698eac1a62f3de0acc6891c6a" }, "downloads": -1, "filename": "pydebsign-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7d535ea61ff3a76ebc93ed5a402e7a6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27589, "upload_time": "2014-05-27T09:06:26", "url": "https://files.pythonhosted.org/packages/87/e2/f4aa72d576e434a7ebaaf58a06e7a3db54c4593a3f51e5b4c04307583da4/pydebsign-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5516716281e31890383cf4fbd69fe650", "sha256": "ca1211ff2ed22c2d81411b1ee419b4a7ef233b730cbe263cc6abacab2cf87776" }, "downloads": -1, "filename": "pydebsign-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5516716281e31890383cf4fbd69fe650", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28035, "upload_time": "2014-05-30T21:44:06", "url": "https://files.pythonhosted.org/packages/a0/26/e5324abf21a39b149b2c1695c2ce39fa7a685fbfac6763f60f60c41686ae/pydebsign-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "e77df85f5e9043246e5466582981b399", "sha256": "5426ed4479b71e5c5cf54457dee8048f9f48de92684bb1858a62772e07242e5d" }, "downloads": -1, "filename": "pydebsign-0.1.4.tar.gz", "has_sig": false, "md5_digest": "e77df85f5e9043246e5466582981b399", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34065, "upload_time": "2014-12-20T22:42:09", "url": "https://files.pythonhosted.org/packages/f8/a4/de6380d11796c3e97bb2997b3681fdce0d8b3ab72434bd6ffe36021a1fb2/pydebsign-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "3ec5e16c5c6bac72072d78ddb6b882eb", "sha256": "badcdd602c7065704bfd1076c5cfc8a37d2888af928ae70ea6474602c02ac42d" }, "downloads": -1, "filename": "pydebsign-0.1.5.tar.gz", "has_sig": false, "md5_digest": "3ec5e16c5c6bac72072d78ddb6b882eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33924, "upload_time": "2015-08-25T06:47:05", "url": "https://files.pythonhosted.org/packages/c4/b4/8f447bb7baa24c81ec8b3cd5583e9b2a602c5c11eb49f9e49f44fa4ce6e2/pydebsign-0.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3ec5e16c5c6bac72072d78ddb6b882eb", "sha256": "badcdd602c7065704bfd1076c5cfc8a37d2888af928ae70ea6474602c02ac42d" }, "downloads": -1, "filename": "pydebsign-0.1.5.tar.gz", "has_sig": false, "md5_digest": "3ec5e16c5c6bac72072d78ddb6b882eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33924, "upload_time": "2015-08-25T06:47:05", "url": "https://files.pythonhosted.org/packages/c4/b4/8f447bb7baa24c81ec8b3cd5583e9b2a602c5c11eb49f9e49f44fa4ce6e2/pydebsign-0.1.5.tar.gz" } ] }