]> git.proxmox.com Git - pve-manager.git/blob - aplinfo/Makefile
update trustedkeys
[pve-manager.git] / aplinfo / Makefile
1
2 DOCDIR=/usr/share/doc/pve-manager/
3
4 TRUSTED_KEYS= \
5 proxmox-release-5.x.pubkey \
6 proxmox-release-6.x.pubkey \
7 release@turnkeylinux.com.pubkey
8
9 all:
10
11 .PHONY: install
12 install: aplinfo.dat trustedkeys.gpg
13 install -D -m 0644 aplinfo.dat ${DESTDIR}${DOCDIR}/aplinfo.dat
14 install -D -m 0644 trustedkeys.gpg ${DESTDIR}${DOCDIR}/trustedkeys.gpg
15
16 .PHONY: update
17 update:
18 rm -f aplinfo.dat
19 wget http://download.proxmox.com/images/aplinfo-pve-6.dat -O aplinfo.dat.tmp
20 mv aplinfo.dat.tmp aplinfo.dat
21
22 # Default list of GPG keys allowed to sign aplinfo, generated with:
23 # gpg --import-options show-only --import trustedkeys.gpg
24 # pub rsa4096 2016-08-29 [SC] [expires: 2026-08-27]
25 # 359E95965E2C3D643159CD300D9A1950E2EF0603
26 # uid Proxmox Virtual Environment 5.x Release Key <proxmox-release@proxmox.com>
27 #
28 # pub rsa4096 2018-11-19 [SC] [expires: 2028-11-16]
29 # 353479F83781D7F8ED5F5AC57BF2812E8A6E88E0
30 # uid Proxmox Virtual Environment 6.x Release Key <proxmox-release@proxmox.com>
31 #
32 # pub rsa2048 2008-08-15 [SC] [expires: 2023-08-12]
33 # 694CFF26795A29BAE07B4EB585C25E95A16EB94D
34 # uid Turnkey Linux Release Key <release@turnkeylinux.com>
35 trustedkeys.gpg: ${TRUSTED_KEYS}
36 rm -Rf tempgpg
37 mkdir tempgpg
38 chmod 700 tempgpg
39 gpg --fingerprint --batch --no-tty --homedir tempgpg --import ${TRUSTED_KEYS}
40 gpg --batch --no-tty --homedir tempgpg --export > trustedkeys.gpg
41
42 .PHONY: clean
43 clean:
44 rm -rf *~ aplinfo.dat.gz aplinfo.dat.asc tempgpg