gnuk/doc/gnuk-personalization.rst

78 lines
1.9 KiB
ReStructuredText
Raw Normal View History

2012-08-03 01:53:04 +00:00
=============================
Personalization of Gnuk Token
=============================
Personalize your Gnuk Token
===========================
Invoke GnuPG with the option ``--card-edit``. ::
$ gpg --card-edit
2016-06-21 05:44:51 +00:00
Reader ...........: 234B:0000:FSIJ-1.2.0-87193059:0
Application ID ...: D276000124010200FFFE871930590000
2012-08-03 01:53:04 +00:00
Version ..........: 2.0
2013-12-25 02:33:00 +00:00
Manufacturer .....: unmanaged S/N range
2016-06-21 05:44:51 +00:00
Serial number ....: 87193059
2012-08-03 01:53:04 +00:00
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: forced
2016-06-21 05:44:51 +00:00
Key attributes ...: rsa2048 rsa2048 rsa2048
2012-08-03 01:53:04 +00:00
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 3 3
Signature counter : 0
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]
2013-12-25 02:33:00 +00:00
gpg/card>
2012-08-03 01:53:04 +00:00
2013-12-25 02:33:00 +00:00
It shows the status of the card (as same as the output of ``gpg --card-status``).
2012-08-03 01:53:04 +00:00
Then, GnuPG enters its own command interaction mode. The prompt is ``gpg/card>``.
2013-10-24 07:02:50 +00:00
First, enabling admin command, I put name of mine.
Note that I input admin PIN of factory setting (12345678) here. ::
2012-08-03 01:53:04 +00:00
gpg/card> admin
Admin commands are allowed
gpg/card> name
Cardholder's surname: Niibe
Cardholder's given name: Yutaka
gpg: 3 Admin PIN attempts remaining before card is permanently locked
Please enter the Admin PIN
2013-10-24 07:02:50 +00:00
Enter Admin PIN: 12345678
2012-08-03 01:53:04 +00:00
2013-10-24 07:02:50 +00:00
Secondly, I put some other informations, such as language, sex,
2013-02-13 05:23:24 +00:00
login, and URL. URL specifies the place where I put my public keys. ::
2012-08-03 01:53:04 +00:00
gpg/card> lang
Language preferences: ja
gpg/card> sex
Sex ((M)ale, (F)emale or space): m
gpg/card> url
2016-06-21 05:44:51 +00:00
URL to retrieve public key: http://www.gniibe.org/gniibe-20150813.asc
2012-08-03 01:53:04 +00:00
gpg/card> login
Login data (account name): gniibe
2013-02-13 05:23:24 +00:00
Since I don't force PIN input everytime,
toggle it to non-force-pin-for-signature. ::
2012-08-03 01:53:04 +00:00
gpg/card> forcesig
Then, I quit. ::
gpg/card> quit
2016-06-21 05:44:51 +00:00
That's all in this step.