-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: deploy Qusal Builder configuration
For: #59
- Loading branch information
1 parent
d316999
commit 4a72a48
Showing
8 changed files
with
132 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,10 @@ Copyright: The Qubes OS Project <https://www.qubes-os.org> | |
Simon Gaiser <[email protected]> | ||
License: CC0-1.0 | ||
|
||
Files: salt/qubes-builder/files/client/qusal/keys/* | ||
Copyright: 2023 - 2024 Benjamin Grande M. S. <[email protected]> | ||
License: CC0-1.0 | ||
|
||
Files: salt/kicksecure-minimal/files/template/ld.so.preload | ||
Copyright: 2014 Patrick Schleizer <[email protected]> | ||
License: CC0-1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
{% if grains['nodename'] != 'dom0' -%} | ||
|
||
include: | ||
- .configure | ||
|
||
"{{ slsdotpath }}-makedir-qusal-builder": | ||
file.directory: | ||
- name: /home/user/src/qusal-builder | ||
- user: user | ||
- group: user | ||
- mode: '0755' | ||
- makedirs: True | ||
|
||
"{{ slsdotpath }}-qusal-save-configuration": | ||
file.recurse: | ||
- require: | ||
- file: "{{ slsdotpath }}-makedir-qusal-builder" | ||
- name: /home/user/src/qusal-builder | ||
- source: salt://{{ slsdotpath }}/files/client/qusal/ | ||
- user: user | ||
- group: user | ||
- file_mode: '0644' | ||
- dir_mode: '0755' | ||
- makedirs: True | ||
|
||
"{{ slsdotpath }}-qusal-gnupg-home": | ||
file.directory: | ||
- name: /home/user/.gnupg/qusal-builder | ||
- user: user | ||
- group: user | ||
- mode: '0700' | ||
- makedirs: True | ||
|
||
"{{ slsdotpath }}-qusal-save-keys": | ||
file.recurse: | ||
- require: | ||
- file: "{{ slsdotpath }}-qusal-gnupg-home" | ||
- name: /home/user/.gnupg/qusal-builder/download/ | ||
- source: salt://{{ slsdotpath }}/files/client/qusal/keys/ | ||
- user: user | ||
- group: user | ||
- file_mode: '0600' | ||
- dir_mode: '0700' | ||
- makedirs: True | ||
|
||
"{{ slsdotpath }}-qusal-import-keys": | ||
cmd.run: | ||
- require: | ||
- file: "{{ slsdotpath }}-qusal-save-keys" | ||
- name: gpg --status-fd=2 --homedir . --import download/*.asc | ||
- cwd: /home/user/.gnupg/qusal-builder | ||
- runas: user | ||
- success_stderr: IMPORT_OK | ||
|
||
"{{ slsdotpath }}-qusal-import-ownertrust": | ||
cmd.run: | ||
- require: | ||
- cmd: "{{ slsdotpath }}-qusal-import-keys" | ||
- name: gpg --homedir . --import-ownertrust download/otrust.txt | ||
- cwd: /home/user/.gnupg/qusal-builder | ||
- runas: user | ||
|
||
{% endif -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{# | ||
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <[email protected]> | ||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later | ||
#} | ||
|
||
base: | ||
'qubes-builder': | ||
- qubes-builder.configure-qusal |
25 changes: 25 additions & 0 deletions
25
salt/qubes-builder/files/client/qusal/keys/DF3834875B65758713D93E91A475969DE4E371E3.asc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
|
||
mDMEZGZAKxYJKwYBBAHaRw8BAQdAzFB23KFLShkm+1ES6N8i6HVJ1B7Krqj0yXo3 | ||
L/l30NCIywQfFgoAfQWCZGZAKwMLCQcJEKR1lp3k43HjRxQAAAAAAB4AIHNhbHRA | ||
bm90YXRpb25zLnNlcXVvaWEtcGdwLm9yZyeI6TGfVTZAp3yhEOrLKTMwsOPF/yIH | ||
mt8kAJlr2HGmAxUKCAKbAQIeARYhBN84NIdbZXWHE9kukaR1lp3k43HjAABdQwEA | ||
whLqF/ei31DnMQKwvg+b7zPYbm/q8D9uyGkfcVkbZygA/0ddoR7N2btc+Xkq9YO0 | ||
HUBq0fh4kZKoXhigN80rM1oBtDZCZW4gR3JhbmRlIChDb2RlIHNpZ25pbmcga2V5 | ||
KSA8YmVuLmdyYW5kZS5iQGdtYWlsLmNvbT6IzgQTFgoAgAWCZGZAKwMLCQcJEKR1 | ||
lp3k43HjRxQAAAAAAB4AIHNhbHRAbm90YXRpb25zLnNlcXVvaWEtcGdwLm9yZ2Nk | ||
JbOh6BctVi8+X8FzBteAzpLjefrZYuRm6rkYv8ZDAxUKCAKZAQKbAQIeARYhBN84 | ||
NIdbZXWHE9kukaR1lp3k43HjAAA+vgD/Sejx9K2Zvre5upU6C7ir2WZRqEPCKvy5 | ||
wFU1h4N+40wBAMr/WsLSJSD6TOwgdYfBDczEue1gc6zP+xA7Or7VujICuDMEZGZA | ||
KxYJKwYBBAHaRw8BAQdALj8b1CVE4cqUI3gSFGaZW+af9DIwCzBygvo83iG1xJKJ | ||
AYIEGBYKATQFgmRmQCsJEKR1lp3k43HjRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z | ||
LnNlcXVvaWEtcGdwLm9yZ2iMz6GUuNxM1dDPp3PXPgsGGGlKi/vU+sojIkznrYCc | ||
ApsCAh4BvqAEGRYKAG8FgmRmQCsJEADGThT1H55WRxQAAAAAAB4AIHNhbHRAbm90 | ||
YXRpb25zLnNlcXVvaWEtcGdwLm9yZwTyiHExlhRK2ulMEfrIv0IhSOEhTWDj8oi7 | ||
aXjg7pt0FiEE79pdfpoB+pm/oGLhAMZOFPUfnlYAAMIvAQDB/ARSBZyN+L8L7OA9 | ||
RLfUyNSUuQJltnIj0ljM2V8FZQD/b2mwtdYsSm1C10ftPSbTpeFVCTkkAK626QWQ | ||
yXQTxQcWIQTfODSHW2V1hxPZLpGkdZad5ONx4wAAfzIA/R1eIybunPwpAziHhMxN | ||
IP6iA/8/w1F6Li4ImZ/QhYW5AQCi8+0e8/NgQaI4FEqs/36cfi17XL5C5VbvbKi4 | ||
0g+rDQ== | ||
=CkKA | ||
-----END PGP PUBLIC KEY BLOCK----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# List of assigned trustvalues, created Thu 02 Nov 2023 09:43:48 PM UTC | ||
# (Use "gpg --import-ownertrust" to restore them) | ||
DF3834875B65758713D93E91A475969DE4E371E3:6: |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters