resetKeys() also resets sharedDeviceSigningKey unexpectedly

I am using ASAuthorizationProviderExtensionLoginManager.resetKeys() to generate new user-specific keys, specifically userDeviceSigningKey and userDeviceEncryptionKey.

Based on the documentation, my understanding was that resetKeys() only resets keys associated with a particular user account: https://developer.apple.com/documentation/authenticationservices/asauthorizationproviderextensionloginmanager/resetkeys/

However, during testing, I observed that calling resetKeys() also resets sharedDeviceSigningKey.

I had assumed that shared device keys would only be reset via resetDeviceKeys().

resetKeys() also resets sharedDeviceSigningKey unexpectedly
 
 
Q