Factory Reset Heads v2.0+¶
Razões para reiniciar para as configurações de fábrica¶
Your Nitrokey is locked (e.g. due to multiple incorrect PIN entries)
Perdeu a sua Nitrokey (caso em que vai precisar primeiro de uma nova)
You have installed an operating system yourself (e.g. after changing the hard disk)
O seu sistema operacional não inicia
Aviso
All GPG keys of your Nitrokey will be deleted during this procedure.
Procedimento¶
Ligue a sua Nitrokey ao NitroPad.
Ligar o NitroPad e interromper o arranque automático premindo qualquer tecla.
Seleccione «Opções».
Select “OEM-Factory Reset /Re-Ownership”.
Confirm reset with “Continue”.
The integrity of your setup will be tested, deppending on your reason to perform the reset this can fail continue with ok anyways
You will be prompted with:
Would you like to use default configuration option? If N, you will be prompted for each option [Y/n]:
Pode premir enter para a opção predefinida (Y).
Aparecerá uma segunda mensagem:
Would you like to export your public key to an USB drive? [y/N]:
Escolha também a opção predefinida (N) premindo enter.
Durante este processo, o utilizador terá de tocar na sua Nitrokey quando lhe for pedido.
Agora mostra todos os PIN utilizados pelo Heads:
Necessitará deles para determinados procedimentos, pelo que não se esqueça de os memorizar.
Confirm the subsequent restart.
Após o reinício, o segredo OTP deve ser criado. Confirme o processo com Enter.
Enter TPM Owner Password (Default: 12345678)
Scan QR code with Phone to inport TOTP Seceret (Optional) and hit Enter
When asked touch your Nitrokey.
When prompted, enter the Secret App PIN of your Nitrokey (Default: 12345678) and hit Enter
Prima enter e o arranque automático será iniciado.
Agora é necessário selecionar o arranque predefinido, escolher a primeira opção e torná-la predefinida.
Aparecerá esta mensagem:
Do you wish to add a disk encryption key to the TPM [y/N]:
Hit enter to choose the default option (N).
Please confirm that your GPG card is inserted [Y/n]:
Here also hit enter for the default option (Y).
It will ask for the Admin PIN which is by default (123456).
A reinicialização está concluída e está a arrancar no sistema operativo instalado.
Ligue a sua Nitrokey ao NitroPad.
Liga o NitroPad.
Seleccione «Opções».
Select “OEM-Factory Reset /Re-Ownership”.
Confirm Reset with “Continue”.
A integridade da sua instalação será testada, dependendo do motivo que o levou a efetuar a reinicialização, o que pode falhar.
As perguntas seguintes podem ser respondidas com a opção Predefinição. Basta premir Enter se quiser apenas repor o dispositivo.
Would you like to change the current LUKS Disk Recovery Key passphrase? (Highly recommended if you didn't install the Operating System yourself, so that past provisioned passphrase would not permit to access content. Note that without re-encrypting disk, a backuped header could be restored to access encrypted content with old passphrase) [y/N]: N Would you like to re-encrypt LUKS encrypted container and generate new Disk Recovery key? (Highly recommended if you didn't install the operating system yourself: this would prevent any LUKS backuped header to be restored to access encrypted data) [y/N]: N The following security components will be provisioned with defaults or chosen PINs/passwords: TPM Ownership password GPG Admin PIN GPG User PIN Would you like to set a single custom password that will be provisioned to previously stated security components? [y/N]: N Would you like to set distinct PINs/passwords to be provisioned to previously stated security components? [y/N]: N Would you like to set custom user Information for the GnPG key?[y/N]: N Would you like to set custom user information for the GnuPG key? [y/N]: N Checking for USB Security Dongle... Detecting and setting boot device... Boot device set to /dev/nvme0n1p2 Resetting TPM... Resetting GPG Key... (this will take around 3 minuts...) Changing default GPG Admin PIN Changing default GPG User PIN Reading current firmware (this will take a minute or two) Adding generated key to current firmware and re-flashing... Signing boot files and generating checksums
Irá mostrar os PINS GPG predefinidos e a palavra-passe TPM
Confirm the subsequent restart.
Após o reinício, o segredo OTP deve ser criado. Confirme o processo com Enter.
Introduzir a palavra-passe TPM (predefinição: 12345678)
Digitalizar o código QR com o telemóvel para importar o TOTP Seceret (opcional) e premir Enter
When prompted, enter the Admin PIN of your Nitrokey (Default: 12345678) and hit Enter
Você deve então acessar o menu Iniciar.
Pressione Enter para iniciar a «Bota por defeito».
Nota
If you see the message that no default exists yet, please follow the procedure described in default boot.