rpm/python
Panu Matilainen ee5dd3ccb9 Improve error handling in Python pubkey constructor
pkgParsePkts() only parses the PGP armor, the actual pubkey is only
parsed as a part of rpmPubkeyNew() whose return we need to check for
separately. Emit different messages in these cases.

Thanks to @KOLANICH for pointing this out and initial patch.
2020-11-23 16:00:38 +02:00
..
rpm Fix python ts.addErase() not raising exception on not-found packages 2020-06-04 13:50:13 +02:00
MANIFEST.in Preliminary distutils support for the python bindings 2011-03-09 15:37:07 +02:00
Makefile.am Add Python bindings for the new version API 2020-05-27 14:14:00 +02:00
header-py.c Support EVR strings to Python labelCompare() 2020-05-27 14:14:00 +02:00
header-py.h Switch python bindings to use rpm(Dbi)TagVal as appropriate 2010-10-22 11:57:38 +03:00
rpmarchive-py.c Add python doc strings for rpm.archive 2014-12-18 12:50:31 +01:00
rpmarchive-py.h Add python bindings + a testcase for the archive API 2014-01-31 12:49:54 +02:00
rpmds-py.c Replace all PyInt_* uses with PyLong_* in the codebase 2019-08-12 09:54:44 +03:00
rpmds-py.h Handle all rpmds variants in its constructor 2009-10-05 16:42:52 +03:00
rpmfd-py.c Axe support for Python 2 2019-08-12 09:54:44 +03:00
rpmfd-py.h Accept rpm.fd() types file objects everywhere in python bindings 2009-10-15 10:11:37 +03:00
rpmfi-py.c Replace all PyInt_* uses with PyLong_* in the codebase 2019-08-12 09:54:44 +03:00
rpmfi-py.h Revert the ds, ts, fi and spec python object creation commits 2011-07-06 08:16:12 +03:00
rpmfiles-py.c Replace all PyInt_* uses with PyLong_* in the codebase 2019-08-12 09:54:44 +03:00
rpmfiles-py.h New rpmfile[s] python bindings 2013-12-18 09:07:10 +02:00
rpmii-py.c Replace all PyInt_* uses with PyLong_* in the codebase 2019-08-12 09:54:44 +03:00
rpmii-py.h Rename rpmdbKeyIterator to rpmdbIndexIterator 2010-11-03 10:03:14 +01:00
rpmkeyring-py.c Improve error handling in Python pubkey constructor 2020-11-23 16:00:38 +02:00
rpmkeyring-py.h Add bindings for rpm keyring and pubkey types 2009-10-09 09:02:19 +03:00
rpmmacro-py.c In Python 3, return all our string data as surrogate-escaped utf-8 strings 2019-02-22 20:37:20 +02:00
rpmmacro-py.h Lose the empty doxygen markers 2009-09-22 22:42:06 +03:00
rpmmi-py.c Axe support for Python 2 2019-08-12 09:54:44 +03:00
rpmmi-py.h Make object allocation type agnostic 2009-09-24 11:42:17 +03:00
rpmmodule.c Add RPMTRANS_FLAG_NOARTIFACTS symbol to Python bindings 2020-06-26 14:43:10 +02:00
rpmps-py.c In Python 3, return all our string data as surrogate-escaped utf-8 strings 2019-02-22 20:37:20 +02:00
rpmps-py.h Add a helper function for turning rpm problem set into python list 2010-03-13 12:28:26 +02:00
rpmstrpool-py.c In Python 3, return all our string data as surrogate-escaped utf-8 strings 2019-02-22 20:37:20 +02:00
rpmstrpool-py.h Add basic python bindings for rpm string pool 2013-12-13 15:35:20 +02:00
rpmsystem-py.h Replace all PyInt_* uses with PyLong_* in the codebase 2019-08-12 09:54:44 +03:00
rpmtd-py.c In Python 3, return all our string data as surrogate-escaped utf-8 strings 2019-02-22 20:37:20 +02:00
rpmtd-py.h Drop unused rpmtd python object remnants 2019-05-27 14:08:41 +02:00
rpmte-py.c Add support for application private user data in transaction elements 2020-09-28 11:17:24 +03:00
rpmte-py.h Make object allocation type agnostic 2009-09-24 11:42:17 +03:00
rpmts-py.c Replace uses of deprecated PyEval_CallObject() with PyObject_Call() 2020-10-28 10:40:22 +02:00
rpmts-py.h Pass rpmts object to rpmSpecBuild() 2019-05-28 09:24:01 +03:00
rpmver-py.c Add Python bindings for the new version API 2020-05-27 14:14:00 +02:00
rpmver-py.h Add Python bindings for the new version API 2020-05-27 14:14:00 +02:00
setup.py.in Add Python bindings for the new version API 2020-05-27 14:14:00 +02:00
spec-py.c Pass rpmts object to rpmSpecBuild() 2019-05-28 09:24:01 +03:00
spec-py.h Fix number of references on spec_Type (#114) 2017-02-23 14:03:10 +02:00