Sławomir Nizio c06eb76644 [entropy.server] gpg related fix for Python 3
With Python 3, data in sqlite from packagesignatures.gpg column was binary on
read (because it was binary on write) but a string was actually required.

The problem was visible with GPG signed packages: when injected into database
using eit with Python 3, it would then explode during equo update/install on
client side.

error from Python 2:

      File "/usr/lib64/python2.7/site-packages/entropy/client/interfaces/package/actions/fetch.py", line 1063, in do_signatures_validation
	if hash_val in signatures:
    TypeError: writable buffers are not hashable

error from Python 3:

      File "/usr/lib64/python3.6/site-packages/entropy/client/interfaces/package/actions/fetch.py", line 1023, in do_compare_gpg
	tmp_f.write(hash_val)
    TypeError: write() argument must be str, not bytes
2020-02-09 22:18:26 +01:00
2020-02-07 16:25:39 +01:00
2020-02-07 16:25:44 +01:00
2020-02-07 16:25:39 +01:00
2011-10-20 19:52:49 +02:00
2018-08-05 00:26:03 +02:00
2018-08-04 20:37:29 +02:00

Build Status Entropy

Entropy is the binary package management of Sabayon Linux.

License

GPL v2. See COPYING for details.

Description
No description provided
Readme 136 MiB
Languages
Python 98.8%
Shell 0.7%
Makefile 0.4%