Update signature for QEMU image.

This commit is contained in:
Samson-W 2019-09-18 15:55:29 +08:00
parent 1fdb20c58b
commit 49b1064164
4 changed files with 3 additions and 3 deletions

View File

@ -174,6 +174,6 @@ $ sudo poweroff
## sign QEMU image
ssh to QEMU server, find QEMU image dir, sign the QEMU image:
```
root@debian-9:/opt/images# gpg -b harbian-audit_Debian_9.qcow2
root@debian-9:/opt/images# gpg -u samson -b debian9.9-harbian-0910.qcow2
```

View File

@ -24,9 +24,9 @@ passwd: 2wsx#EDC4rfv%TGB6yhn
```
$ wget https://github.com/hardenedlinux/harbian-audit/blob/master/docs/complianced_image/QEMU/debian9.9-harbian-0910.qcow2.sig
$ wget https://github.com/hardenedlinux/harbian-audit/blob/master/docs/complianced_image/QEMU/signature/debian9.9-harbian-0910.qcow2.tar.gz.sig
$ gpg --verify debian9.9-harbian-0910.qcow2.tar.gz.sig debian9.9-harbian-0910.qcow2.tar.gz
$ gpg -u samson --verify debian9.9-harbian-0910.qcow2.tar.gz.sig debian9.9-harbian-0910.qcow2.tar.gz
$ tar -xzvf debian9.9-harbian-0910.qcow2.tar.gz
$ gpg --verify debian9.9-harbian-0910.qcow2.sig debian9.9-harbian-0910.qcow2
$ gpg -u samson --verify debian9.9-harbian-0910.qcow2.sig debian9.9-harbian-0910.qcow2
```
## Use the QEMU image to create virtual machine