A method for importing setting information into an information-processing device, the setting information including an operation setting for the information-processing device, the information-processing device including:
- a memory;
- a USB interface;
- and a display panel, the method comprising:
- (a) determining, in response to a USB memory storing encrypted setting information being connected to the USB interface, whether a prescribed condition for importing the encrypted setting information is met, the encrypted setting information being the setting information encrypted using a data password;
- (b) receiving, in response to determining in (a) that the prescribed condition is met, an input via the display panel;
- (c) determining whether the input matches a preset device password for logging into the information-processing device;
- (d) acquiring, in response to determining in (c) that the input matches the preset device password, the data password via the display panel;
- (e) importing the setting information from the USB memory into the memory, the setting information being acquired by decrypting the encrypted setting information using the data password acquired in (d);
- (f) creating authentication information including the preset device password and the data password;
- and
- (g) encrypting the authentication information using the preset device password to create encrypted authentication information and storing the encrypted authentication information into the USB memory in which the encrypted setting information is stored,
- wherein when the USB memory in which the encrypted authentication information and the encrypted setting information are stored is connected to an external device different from the information-processing device, decryption of the encrypted authentication information is performed using the preset device password by the external device, and when the decryption is successful and the authentication information is acquired, the setting information is imported into the external device by decrypting the encrypted setting information stored in the USB memory using the data password included in the authentication information.