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)
commit6f697b9c68ac9cbc3d88d204475f10314091ed62
tree46c23d0b7133125ad2a7d2febc590fe65ff3a232
parent7644bb26be027b62d7388a6995355915cf1f14a1
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