You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,25 @@ include apt
65
65
<aid="add-gpg-keys"></a>
66
66
67
67
### Add GPG keys
68
+
You can fetch GPG keys via HTTP, Puppet URI, or local filesystem. The key can be in GPG binary format, or ASCII armored, but the filename should have the appropriate extension (`.gpg` or `.asc`)
**Warning**`apt::key` is deprecated in the latest Debian and Ubuntu releases. Please use apt::keyring instead.
68
87
69
88
**Warning:** Using short key IDs presents a serious security issue, potentially leaving you open to collision attacks. We recommend you always use full fingerprints to identify your GPG keys. This module allows short keys, but issues a security warning if you use them.
70
89
@@ -184,6 +203,22 @@ apt::source { 'puppetlabs':
184
203
}
185
204
```
186
205
206
+
### Adding name and source to the key parameter of apt::source, which then manages modern apt gpg keyrings
207
+
208
+
The name parameter of key hash should contain name with extensions (such as puppetlabs.gpg), Absence of extension will result in creation of file with just name and no extension.
0 commit comments