| 1 |
.. Open Infrastructure: compute-tools |
| 2 |
|
| 3 |
.. Copyright (C) 2014-2026 Daniel Baumann <[email protected]> |
| 4 |
.. |
| 5 |
.. SPDX-License-Identifier: GPL-3.0+ |
| 6 |
.. |
| 7 |
.. This program is free software: you can redistribute it and/or modify |
| 8 |
.. it under the terms of the GNU General Public License as published by |
| 9 |
.. the Free Software Foundation, either version 3 of the License, or |
| 10 |
.. (at your option) any later version. |
| 11 |
.. |
| 12 |
.. This program is distributed in the hope that it will be useful, |
| 13 |
.. but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
.. GNU General Public License for more details. |
| 16 |
.. |
| 17 |
.. You should have received a copy of the GNU General Public License |
| 18 |
.. along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 19 |
|
| 20 |
============= |
| 21 |
container-key |
| 22 |
============= |
| 23 |
|
| 24 |
--------------------------------------------- |
| 25 |
Manage GnuPG keyring for container operations |
| 26 |
--------------------------------------------- |
| 27 |
|
| 28 |
:manual section: 1 |
| 29 |
:manual group: Open Infrastructure |
| 30 |
|
| 31 |
Synopsis |
| 32 |
======== |
| 33 |
|
| 34 |
| **container key** ['OPTIONS'] |
| 35 |
|
| 36 |
Description |
| 37 |
=========== |
| 38 |
|
| 39 |
The **container key** command manages the GnuPG keyring for container |
| 40 |
operations. |
| 41 |
|
| 42 |
Options |
| 43 |
======= |
| 44 |
|
| 45 |
The following **container key** options are available: |
| 46 |
|
| 47 |
-a, --add='KEY_FILE|KEY_ID': |
| 48 |
Add a key to the keyring. |
| 49 |
|
| 50 |
-l, --list': |
| 51 |
List keys in the keyring. |
| 52 |
|
| 53 |
-r, --remove='KEY': |
| 54 |
Remove a key from the keyring. |
| 55 |
|
| 56 |
Examples |
| 57 |
======== |
| 58 |
|
| 59 |
Add a key to the keyring manually: |
| 60 |
|
| 61 |
gpg --keyserver hkps://keys.openpgp.org --recv 0x55CF1BF986ABB9C7 |
| 62 |
|
| 63 |
gpg --armor --export 0x55CF1BF986ABB9C7 | sudo container key --add - |
| 64 |
|
| 65 |
Assisted adding of the same key: |
| 66 |
|
| 67 |
sudo container key --add 0x55CF1BF986ABB9C7 |
| 68 |
|
| 69 |
Remove a key from the keyring: |
| 70 |
|
| 71 |
sudo container key --remove 0x55CF1BF986ABB9C7 |
| 72 |
|
| 73 |
List keys in the keyring: |
| 74 |
|
| 75 |
sudo container key --list |
| 76 |
|
| 77 |
Files |
| 78 |
===== |
| 79 |
|
| 80 |
The following files are used: |
| 81 |
|
| 82 |
/etc/compute-tools/keys: |
| 83 |
Active container keyring. |
| 84 |
|
| 85 |
/usr/share/compute-tools/keys: |
| 86 |
Inactive container keyring library. |
| 87 |
|
| 88 |
See also |
| 89 |
======== |
| 90 |
|
| 91 |
| compute-tools(7), |
| 92 |
| container(1). |
| 93 |
|
| 94 |
Homepage |
| 95 |
======== |
| 96 |
|
| 97 |
More information about compute-tools and the Open Infrastructure project can be |
| 98 |
found on the homepage (https://open-infrastructure.net). |
| 99 |
|
| 100 |
Contact |
| 101 |
======= |
| 102 |
|
| 103 |
Bug reports, feature requests, help, patches, support and everything else are |
| 104 |
welcome on the Open Infrastructure Software Mailing List |
| 105 |
<[email protected]>. |
| 106 |
|
| 107 |
Debian specific bugs can also be reported in the Debian Bug Tracking System |
| 108 |
(https://bugs.debian.org). |
| 109 |
|
| 110 |
Authors |
| 111 |
======= |
| 112 |
|
| 113 |
compute-tools were written by Daniel Baumann |
| 114 |
<[email protected]> and others. |