Identidades Múltiplas

The multiple identities feature allows to use 3 virtual smart cards in place of one, giving bigger flexibility in the every day use, as well as separation between user identities (business, personal etc.) or even allowing usage of it for more than one user (PINs are separate).

All of the smart cards have separate data objects, meaning they all could have different keys, certificates stored, and PINs set. Identities do not interact between each other.

The virtual smart cards are identifiable by the first digit of the serial number, which is replaced by identity number for second (“1”) and third one (“2”). Serial number is not changed for the first identity.

Utilização

Para alterar a identidade é suficiente enviar um comando CCID personalizado. Isto poderia ser feito com a ferramenta pynitrokey`:

  1. Instalar pynitrokey.

  2. Ligue o seu Nitrokey Start e verifique se foi reconhecido.

    $ nitropy start list
    *** Nitrokey tool for Nitrokey FIDO2 & Nitrokey Start
    :: 'Nitrokey Start' keys:
       FSIJ-1.2.15-87042524: Nitrokey Nitrokey Start (RTM.10)
    
  3. Altere a identidade, substituindo <ID> por `x id="50"></x>`, 1`, ou `2`.

    $ nitropy start set-identity <ID>
    *** Nitrokey tool for Nitrokey FIDO2 & Nitrokey Start
    Trying to set identity to <ID>
    device has reset, and should now have the new identity
    

Limitações

A partir da versão RTM.10 existe apenas uma limitação - a terceira identidade pode armazenar um certificado não superior a 1024 bytes. As outras duas identidades têm um limite padrão de 2048 bytes por certificado.