mirror of
https://github.com/ben-grande/qusal.git
synced 2025-02-26 09:41:14 -05:00
feat: configure split-gpg2 server
For: https://github.com/ben-grande/dotfiles/pull/1
This commit is contained in:
parent
ca5ef5cb94
commit
f50d044b5c
@ -1,14 +1,33 @@
|
|||||||
{#
|
{#
|
||||||
SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% if grains['nodename'] != 'dom0' -%}
|
{% if grains['nodename'] != 'dom0' -%}
|
||||||
|
|
||||||
|
{%- import "dom0/gui-user.jinja" as gui_user -%}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- dev.home-cleanup
|
- dev.home-cleanup
|
||||||
- dotfiles.copy-sh
|
- dotfiles.copy-sh
|
||||||
- dotfiles.copy-pgp
|
- dotfiles.copy-pgp
|
||||||
|
|
||||||
|
"{{ slsdotpath }}-split-gpg2-conf.d":
|
||||||
|
file.directory:
|
||||||
|
- name: {{ gui_user.gui_user_home }}/.config/qubes-split-gpg2/conf.d
|
||||||
|
- mode: "0700"
|
||||||
|
- user: {{ gui_user.gui_user }}
|
||||||
|
- group: {{ gui_user.gui_user }}
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
|
"{{ slsdotpath }}-split-gpg2-conf":
|
||||||
|
file.managed:
|
||||||
|
- name: {{ gui_user.gui_user_home }}/.config/qubes-split-gpg2/qubes-split-gpg2.conf
|
||||||
|
- source: salt://{{ slsdotpath }}/files/server/qubes-split-gpg2.conf
|
||||||
|
- mode: "0600"
|
||||||
|
- user: {{ gui_user.gui_user }}
|
||||||
|
- group: {{ gui_user.gui_user }}
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
15
salt/sys-pgp/files/server/qubes-split-gpg2.conf
Normal file
15
salt/sys-pgp/files/server/qubes-split-gpg2.conf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2024 - 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
# vim: ft=toml
|
||||||
|
|
||||||
|
[DEFAULT]
|
||||||
|
autoaccept = 86400
|
||||||
|
pksign_autoaccept = 86400
|
||||||
|
pkdecrypt_autoaccept = 86400
|
||||||
|
verbose_notifications = no
|
||||||
|
allow_keygen = no
|
||||||
|
#gnupghome =
|
||||||
|
isolated_gnupghome_dirs = ~/.gnupg/split-gpg
|
||||||
|
#debug_log =
|
||||||
|
#source_keyring_dir =
|
Loading…
x
Reference in New Issue
Block a user