netcmd/user: python[3]-gpgme unsupported and replaced by python[3]-gpg
authorJoe Guo <joeg@catalyst.net.nz>
Thu, 20 Dec 2018 03:47:00 +0000 (16:47 +1300)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Feb 2019 11:31:46 +0000 (12:31 +0100)
commit3a50ce1cc9d634b384ba5dc4a60d2feeeb616182
treef4942bd8354a974599d29823d57105bf2ee5ee5c
parent83d82e735bb6399142b7e18cf83aa81abefeba33
netcmd/user: python[3]-gpgme unsupported and replaced by python[3]-gpg

python[3]-gpgme is deprecated since ubuntu 1804 and debian 9.
use python[3]-gpg instead, and adapt the API.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13728

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 84069c8a5476a47d45ab946d82abb0d6c04635c3)
python/samba/netcmd/user.py