feat: add pinentry and gpgme to sys-pgp formula

GPGME can be relevant for client applications such as Thunderbird.
Pinentry can be relevant for the server side, but it is way less tested
in split-gpg2 and discouraged to be used.

For: https://github.com/ben-grande/qusal/issues/83
This commit is contained in:
Ben Grande 2025-01-08 16:48:04 +01:00
parent 31a606e752
commit b03ceb500c
No known key found for this signature in database
GPG key ID: 00C64E14F51F9E56
14 changed files with 310 additions and 6 deletions

View file

@ -0,0 +1,30 @@
{#
SPDX-FileCopyrightText: 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- utils.tools.common.update
{% set pkg = {
'Debian': {
'pkg': ['python3-gpg'],
},
'RedHat': {
'pkg': ['python3-gpg'],
},
}.get(grains.os_family) -%}
"{{ slsdotpath }}-client-installed-os-specific-gpgme-python":
pkg.installed:
- require:
- sls: utils.tools.common.update
- install_recommends: False
- skip_suggestions: True
- setopt: "install_weak_deps=False"
- pkgs: {{ pkg.pkg|sequence|yaml }}
{% endif -%}