tldr/pages/linux/apt-key.md

20 lines
375 B
Markdown
Raw Normal View History

# apt-key
2016-01-13 11:04:46 +00:00
> Key management utility for the APT Package Manager on Debian and Ubuntu.
2016-01-13 11:04:46 +00:00
- List trusted key:
`apt-key list`
2016-01-13 11:04:46 +00:00
- Add a key to the trusted keystor:
`apt-key add {{public_key_file.asc}}`
2016-01-13 11:04:46 +00:00
- Delete a key from the trusted keystor:
`apt-key del {{key_id}}`
2016-01-13 11:04:46 +00:00
- Add a remote key to the trusted keystor:
`wget -qO - {{https://host.tld/filename.key}} | apt-key add -`