Skip to content

Commit 111d620

Browse files
authored
[3.0] Documentation: Add references to ARM64 3.0 ISO (#11328)
1 parent b5ee18e commit 111d620

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Instructions for building Azure Linux 3.0 may be found here: [Toolkit Documentat
2121

2222
### ISO
2323

24-
To try Azure Linux Download the ISO here: [Azure Linux 3.0 x86_64 ISO](https://aka.ms/azurelinux-3.0-x86_64.iso)
24+
To try Azure Linux Download the ISO here: [Azure Linux 3.0 x86_64 ISO](https://aka.ms/azurelinux-3.0-x86_64.iso) / [Azure Linux 3.0 aarch64 ISO](https://aka.ms/azurelinux-3.0-aarch64.iso)
2525

2626
Before using a downloaded ISO, [verify the checksum and signature of the image](toolkit/docs/security/iso-image-verification.md).
2727

toolkit/docs/security/iso-image-verification.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
It is strongly recommended that the integrity of the image is verified after downloading it. This is a two-step process. First, ensure that the checksum file has not been tampered with by verifying the signature against Azure Linux's RPM signing public key. Second, check that the ISO image was not corrupted during the download. The following bash script shows the commands necessary to download the iso image and check the signature:
44

5+
# x86_64 ISO verification:
56
```bash
67
# Download the necessary files
78
wget https://aka.ms/AzureLinux-3.0-x86_64.iso
@@ -26,3 +27,29 @@ gpg --verify "$SIGNATURE_FILE" "$CHECKSUM_FILE"
2627
dos2unix "$CHECKSUM_FILE"
2728
sha256sum --check "$CHECKSUM_FILE"
2829
```
30+
31+
# aarch64 ISO verification:
32+
```bash
33+
# Download the necessary files
34+
wget https://aka.ms/AzureLinux-3.0-aarch64.iso
35+
wget https://aka.ms/azurelinux-3.0-aarch64-iso-checksum
36+
wget https://aka.ms/azurelinux-3.0-aarch64-iso-checksum-signature
37+
wget https://raw.githubusercontent.com/microsoft/azurelinux/3.0/SPECS/azurelinux-repos/MICROSOFT-RPM-GPG-KEY
38+
39+
# Set Variables for the checksum and signature file names
40+
CHECKSUM_FILE="azurelinux-3.0-aarch64-iso-checksum"
41+
SIGNATURE_FILE="azurelinux-3.0-aarch64-iso-checksum-signature"
42+
43+
# Import the RPM signing public key into the local GPG keystore
44+
gpg --import MICROSOFT-RPM-GPG-KEY
45+
46+
# Verify that the checksum file was produced by the Azure Linux team
47+
# The output of this command should contain the following string:
48+
# 'Good signature from "Azure Linux RPM Release Signing <marinerrpmprod@microsoft.com>"'
49+
gpg --verify "$SIGNATURE_FILE" "$CHECKSUM_FILE"
50+
51+
# Verify that the ISO image checksum matches the expected checksum
52+
# We need to fix the line endings on the signature file to get sha256sum to accept it
53+
dos2unix "$CHECKSUM_FILE"
54+
sha256sum --check "$CHECKSUM_FILE"
55+
```

0 commit comments

Comments
 (0)