Skip to content

Commit

Permalink
add support for Pixel 9, Pixel 9 Pro and Pixel 9 Pro XL
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Aug 21, 2024
1 parent 1a864a2 commit 6004041
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/main/java/app/attestation/server/AttestationProtocol.java
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ class AttestationProtocol {
private static final String DEVICE_PIXEL_8 = "Google Pixel 8";
private static final String DEVICE_PIXEL_8_PRO = "Google Pixel 8 Pro";
private static final String DEVICE_PIXEL_8A = "Google Pixel 8a";
private static final String DEVICE_PIXEL_9 = "Google Pixel 9";
private static final String DEVICE_PIXEL_9_PRO = "Google Pixel 9 Pro";
private static final String DEVICE_PIXEL_9_PRO_XL = "Google Pixel 9 Pro XL";
private static final String DEVICE_SM_G970F = "Samsung Galaxy S10e (SM-G970F)";
private static final String DEVICE_SM_G975F = "Samsung Galaxy S10+ (SM-G975F)";
private static final String DEVICE_SM_N970F = "Samsung Galaxy Note 10 (SM-N970F)";
Expand Down Expand Up @@ -277,6 +280,12 @@ static class DeviceInfo {
new DeviceInfo(DEVICE_PIXEL_8_PRO, 300, 300, false, true, OS_GRAPHENE))
.put("096B8BD6D44527A24AC1564B308839F67E78202185CBFF9CFDCB10E63250BC5E",
new DeviceInfo(DEVICE_PIXEL_8A, 300, 300, false, true, OS_GRAPHENE))
.put("9E6A8F3E0D761A780179F93ACD5721BA1AB7C8C537C7761073C0A754B0E932DE",
new DeviceInfo(DEVICE_PIXEL_9, 300, 300, false, true, OS_GRAPHENE))
.put("F729CAB861DA1B83FDFAB402FC9480758F2AE78EE0B61C1F2137DD1AB7076E86",
new DeviceInfo(DEVICE_PIXEL_9_PRO, 300, 300, false, true, OS_GRAPHENE))
.put("55D3C2323DB91BB91F20D38D015E85112D038F6B6B5738FE352C1A80DBA57023",
new DeviceInfo(DEVICE_PIXEL_9_PRO_XL, 300, 300, false, true, OS_GRAPHENE))
.build();
static final ImmutableMap<String, DeviceInfo> fingerprintsStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -316,6 +325,12 @@ static class DeviceInfo {
new DeviceInfo(DEVICE_PIXEL_8_PRO, 300, 300, false, true, OS_STOCK))
.put("9DE25FB02BB5530D44149D148437C82E267E557322530AA6F03B0AC2E92931DA",
new DeviceInfo(DEVICE_PIXEL_8A, 300, 300, false, true, OS_STOCK))
.put("ACB5A4DD184E2C44CFA6A53D2D5C5E8674C9498A59F8AE8019942AC1FCEB1E6C",
new DeviceInfo(DEVICE_PIXEL_9, 300, 300, false, true, OS_STOCK))
.put("06035F636BDB7F299A94B51C7D5645A913551327FFC5452B00C5830476D3208E",
new DeviceInfo(DEVICE_PIXEL_9_PRO, 300, 300, false, true, OS_STOCK))
.put("D05975CFD778082E3D1623C91419F6D8634E579A786592118CCEA057537579B7",
new DeviceInfo(DEVICE_PIXEL_9_PRO_XL, 300, 300, false, true, OS_STOCK))
.put("9D77474FA4FEA6F0B28636222FBCEE2BB1E6FF9856C736C85B8EA6E3467F2BBA",
new DeviceInfo(DEVICE_SM_G970F, 3, 4, false, false, OS_STOCK))
.put("08B2B5C6EC8F54C00C505756E1EF516BB4537B2F02D640410D287A43FCF92E3F",
Expand Down Expand Up @@ -373,6 +388,12 @@ static class DeviceInfo {
new DeviceInfo(DEVICE_PIXEL_8_PRO, 300, 300, false, true, OS_GRAPHENE))
.put("096B8BD6D44527A24AC1564B308839F67E78202185CBFF9CFDCB10E63250BC5E",
new DeviceInfo(DEVICE_PIXEL_8A, 300, 300, false, true, OS_GRAPHENE))
.put("9E6A8F3E0D761A780179F93ACD5721BA1AB7C8C537C7761073C0A754B0E932DE",
new DeviceInfo(DEVICE_PIXEL_9, 300, 300, false, true, OS_GRAPHENE))
.put("F729CAB861DA1B83FDFAB402FC9480758F2AE78EE0B61C1F2137DD1AB7076E86",
new DeviceInfo(DEVICE_PIXEL_9_PRO, 300, 300, false, true, OS_GRAPHENE))
.put("55D3C2323DB91BB91F20D38D015E85112D038F6B6B5738FE352C1A80DBA57023",
new DeviceInfo(DEVICE_PIXEL_9_PRO_XL, 300, 300, false, true, OS_GRAPHENE))
.build();
static final ImmutableMap<String, DeviceInfo> fingerprintsStrongBoxStock = ImmutableMap
.<String, DeviceInfo>builder()
Expand Down Expand Up @@ -410,6 +431,12 @@ static class DeviceInfo {
new DeviceInfo(DEVICE_PIXEL_8_PRO, 300, 300, false, true, OS_STOCK))
.put("9DE25FB02BB5530D44149D148437C82E267E557322530AA6F03B0AC2E92931DA",
new DeviceInfo(DEVICE_PIXEL_8A, 300, 300, false, true, OS_STOCK))
.put("ACB5A4DD184E2C44CFA6A53D2D5C5E8674C9498A59F8AE8019942AC1FCEB1E6C",
new DeviceInfo(DEVICE_PIXEL_9, 300, 300, false, true, OS_STOCK))
.put("06035F636BDB7F299A94B51C7D5645A913551327FFC5452B00C5830476D3208E",
new DeviceInfo(DEVICE_PIXEL_9_PRO, 300, 300, false, true, OS_STOCK))
.put("D05975CFD778082E3D1623C91419F6D8634E579A786592118CCEA057537579B7",
new DeviceInfo(DEVICE_PIXEL_9_PRO_XL, 300, 300, false, true, OS_STOCK))
.put("3D3DEB132A89551D0A700D230BABAE4E3E80E3C7926ACDD7BAEDF9B57AD316D0",
new DeviceInfo(DEVICE_SM_N970U, 3, 4, false, true, OS_STOCK))
.put("9AC63842137D92C119A1B1BE2C9270B9EBB6083BBE6350B7823571942B5869F0",
Expand Down
12 changes: 12 additions & 0 deletions static/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ <h2>
<li>Google Pixel 8</li>
<li>Google Pixel 8 Pro</li>
<li>Google Pixel 8a</li>
<li>Google Pixel 9</li>
<li>Google Pixel 9 Pro</li>
<li>Google Pixel 9 Pro XL</li>
<li>OnePlus 7 Pro (GM1913 model)</li>
<li>Samsung Galaxy Note 10 (SM-N970F and SM-N970U models)</li>
<li>Samsung Galaxy Note 10+ (SM-N975U model)</li>
Expand Down Expand Up @@ -162,6 +165,9 @@ <h2>
<li>Google Pixel 8</li>
<li>Google Pixel 8 Pro</li>
<li>Google Pixel 8a</li>
<li>Google Pixel 9</li>
<li>Google Pixel 9 Pro</li>
<li>Google Pixel 9 Pro XL</li>
<li>Samsung Galaxy Note 10 (SM-N970U model)</li>
<li>Samsung Galaxy Note 10+ (SM-N975U model)</li>
</ul>
Expand All @@ -181,6 +187,9 @@ <h2>
<li>Google Pixel 8</li>
<li>Google Pixel 8 Pro</li>
<li>Google Pixel 8a</li>
<li>Google Pixel 9</li>
<li>Google Pixel 9 Pro</li>
<li>Google Pixel 9 Pro XL</li>
</ul>

<p>The Auditor app also has support for verifying alternative operating systems on
Expand Down Expand Up @@ -209,6 +218,9 @@ <h2>
<li>Google Pixel 8</li>
<li>Google Pixel 8 Pro</li>
<li>Google Pixel 8a</li>
<li>Google Pixel 9</li>
<li>Google Pixel 9 Pro</li>
<li>Google Pixel 9 Pro XL</li>
</ul>

<p>Alternative operating systems need their verified boot key included in the Auditor
Expand Down

0 comments on commit 6004041

Please sign in to comment.