PezzaD84 / macLAPS

LAPS solution for macOS managed with Jamf
40 stars 9 forks source link

Question - extension attributes #7

Closed jelockwood closed 1 year ago

jelockwood commented 1 year ago

@PezzaD84 I must confess I am slightly confused about which is which in terms of LAPS CryptKey and LAPS Secret.

Which contains the encrypted LAPS password? Which contains the key used to decrypt the encrypted LAPS password?

Looking at your scripts implies LAPS Secret contains the encryption key and LAPS CryptKey contains the encrypted local admin password but their names would imply the opposite.

PezzaD84 commented 1 year ago

@jelockwood You are correct about which key contains which item. cryptKey came from shortening EncryptedKey and secret is secret. Just a way to keep track of things but at the same time keep it short.