A master key is used by a device to encrypt data, safeguarding data transmission. A fixed default master key is provided before device delivery. In actual network environments, the default master key may be stolen or cracked. Administrators can manually change master keys as required to improve data security.
If an administrator forgets a user-defined master key configured on a local device, other devices cannot have the same master key configured to communicate with the local device through an encrypted data channel. In this case, attempts to share configuration files between the devices and decrypt data on the devices fail.
An attacker cracks the fixed default master key by analyzing a large number of encrypted data, causing device information leakage.
<HUAWEI> set master-key Warning: This operation will automatically save configurations. Are you sure you want to perform it? [Y/N]:y Enter a new master key: Confirm the new master key: Warning: Keep the new master key well. Enter the user password: Info: Operating, please wait for a moment..... Info: Operation succeeded.
<HUAWEI> clear master-key Warning: This operation will automatically save configurations. Are you sure you want to perform it? [Y/N]:y Warning: This operation will change the current master key to the default master key. Enter the user password: Info: Operating, please wait for a moment.... Info: Operation succeeded.
<HUAWEI> display master-key configuration Current master key: default