Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .idea/apple-knowledge.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/runConfigurations/AppleData_Specs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 17 additions & 36 deletions _data/img4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,24 +173,6 @@ types:
with a `secb` object with a `trst` object), `rssl` (Factory SSL root CA),
`rvok` (Revocation list) and `trpk` (trusted public keys?)
lpol_properties:
AMNM:
BNCH:
BORD:
CEPO:
CHIP:
CPRO:
CSEC:
DGST:
title: Hash Digest
DPRO:
DSEC:
ECID:
EPRO:
ESEC:
LCST:
LNCH:
RNCH:
SDOM:
auxi:
title: Auxiliary Image4 Manifest Hash (`auxi`)
description: After the system verifies that the UAKL hash matches what’s found
Expand Down Expand Up @@ -241,11 +223,6 @@ lpol_properties:
access:
write:
- macOS
bat0:
bat1:
batf:
chg0:
chg1:
coih:
title: CustomOS Image4 Manifest Hash (coih)
description: The `coih` is an SHA384 hash of CustomOS Image4 manifest. The payload
Expand All @@ -257,12 +234,8 @@ lpol_properties:
access:
write:
- 1TR
diag:
dtre:
gaid:
description: Gaia Authentication ID (Apple Internal)
glyc:
glyp:
hrlp:
title: Has recoveryOS Local Policy
description: The `hrlp` indicates whether or not the `prot` value is the measurement
Expand All @@ -275,9 +248,6 @@ lpol_properties:
- 1TR
- recoveryOS
- macOS
ibot:
illb:
krnl:
kuid:
title: Key Encryption Key
description: The kuid indicates the volume that was booted. The key encryption
Expand All @@ -296,7 +266,6 @@ lpol_properties:
description: Local Boot Object. Indicates that the object is to be used as the
target of a local boot only and not provided by the server for remote / DFU
boots.
logo:
lpnh:
title: LocalPolicy Nonce Hash
description: The lpnh is used for anti-replay of the LocalPolicy. This is an SHA384
Expand Down Expand Up @@ -357,7 +326,6 @@ lpol_properties:
- 1TR
- recoveryOS
- macOS
recm:
rolp:
description: recoveryOS local policy
type: boolean
Expand Down Expand Up @@ -392,8 +360,6 @@ lpol_properties:
- 1TR
- recoveryOS
- macOS
rsep:
sepi:
sip0:
title: System Integrity Protection (SIP) 0 Status - Overall
description: The sip0 holds the existing System Integrity Protection (SIP) policy
Expand Down Expand Up @@ -433,7 +399,6 @@ lpol_properties:
description: Secure Multi-Boot 3 - DEP-allowed MDM Control
smb5:
description: Unknown - but known to exist in Factory signing
snon:
snuf:
description: Staged Nonce For Update Firmware
spih:
Expand Down Expand Up @@ -656,6 +621,9 @@ manifest_properties:
description: Local Policy Next Cryptographic Hash
name: ApLocalNonceHash
Mod#:
title: Model ID
mlb#:
title: Main Logic Board Serial
Comment on lines +624 to +626
RNCH:
description: Remote Nonce Cryptographic Hash
RSCH:
Expand Down Expand Up @@ -762,6 +730,7 @@ manifest_properties:
Potentially indicates that the policy is for a recovery boot only.
type: boolean
rfcg:
title: Reconfigure Mode
type: boolean
rsch:
description: research mode
Expand Down Expand Up @@ -803,8 +772,12 @@ manifest_properties:
name: Ap,TargetType
roots:
- ManifestKey-DataCenter
META:
title: Metadata
SPAY:
title: SysCfg Payload
uidm:
description: UID Mode (Enabled)
description: UID Mixing (Entanglement)
type: boolean
roots:
- ManifestKey-DataCenter
Expand Down Expand Up @@ -1121,6 +1094,8 @@ img4_tags:
title: Charger Input Limit Calibration
CLHS:
description: Chained LocalPolicy Hash String
SDOM:
title: Security Domain
Coor:
title: Country of Origin
DPCl:
Expand Down Expand Up @@ -1158,6 +1133,8 @@ img4_tags:
title: Proximity Calibration Data
RMd#:
title: Regional Model Number
DGST:
title: Object Digest
SPTM:
description: Secure Page Table Monitor
SpTS:
Expand Down Expand Up @@ -1194,10 +1171,14 @@ img4_tags:
auac:
description:
batf:
title: Battery Firmware
berb:
time:
title: Timestamp
bles:
description:
cfel:
title: CFELoader
description:
firmware_name: CFELoader
cker:
Expand Down
9 changes: 8 additions & 1 deletion _data/pki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ oids:
symbol: oidAppleSecureBootTicketCertSpec
1.2.840.113635.100.6.1.15:
title: IMG4 Manifest Certificate Specification
name: appleImg4Manifest
name: appleImg4ManifestSpecification
type: sequence
description: "Constriction on values that can be specified or signed by this certificate.
\ Conatins two sub-sequesnces, \nthe MANP (Manifest Properties) and the OBJP
Expand Down Expand Up @@ -143,12 +143,16 @@ oids:
1.2.840.113635.100.6.1.4:
apple_description: Apple World Wide Developer Relations Certificates for Code
Signing GM from developer to Apple
1.2.840.113635.100.6.8:
name: appleImg4Manifest
Comment on lines +146 to +147
1.2.840.113635.100.6.16:
name: appleSecureEnclaveFDRCommands
description: A sequence of FDR programming commands, seperated by ";". Each command
is "PUT" or "GET" prior to a 4CC value, followed by a ":" then the value of
the key.
example: PUT/FSCl:sik-FXFYFXFFYFFEX-QQRRRDEETFEFYCEIESLIREILCILESCLSELRESERSER
1.2.840.113635.100.6.17:
name: appleKeyInstanceName
description: Contains the name of the key
1.2.840.113635.100.6.2:
title: Apple Security Algorithm
Expand All @@ -158,6 +162,7 @@ oids:
1.2.840.113635.100.6.2.10:
symbol: oidAppleIntmMarkerAppleSystemIntg2
1.2.840.113635.100.6.2.12:
name: appleIntmMarkerAppleServerAuthentication
symbol: oidAppleIntmMarkerAppleServerAuthentication
1.2.840.113635.100.6.2.13:
symbol: oidAppleIntmMarkerAppleSystemIntgG3
Expand Down Expand Up @@ -258,6 +263,8 @@ oids:
1.2.840.113635.100.6.71.1:
description: Made for iDevice (MFi) - Authentication v4 - Apple Accessory Properties
Extension
1.2.840.113635.100.6.9:
title: appleSomeSHA256Hash
Comment on lines +266 to +267
1.2.840.113635.100.7.1.1:
apple_description: 'Apple FairPlay certificate extended Application Authentication
& Authorization: Policy'
Expand Down
2 changes: 1 addition & 1 deletion spec/apple_data/schemas/pki_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
it 'has entries that respond to #to_s' do
aggregate_failures do
expect(instance.oids[:'1.2.840.113635.100.6.1.15'].to_s).to be_a(String)
expect(instance.oids[:'1.2.840.113635.100.6.1.15'].to_s).to eq 'appleImg4Manifest'
expect(instance.oids[:'1.2.840.113635.100.6.1.15'].to_s).to eq 'appleImg4ManifestSpecification'
end
end
end
Loading