GnuPG�� ����Ͻ÷��� ���� ���ο� Ű��: ����Ű�� ���Ű�� �����ϼž� �մϴ�.
Ű���� �����ϱ� ���ؼ��� �� ������Ʈ���� ������ ������ �Է��մϴ�:
gpg --gen-key |
�������� ����� ������ ���� ����� ����ϱ� ������ (��Ʈ�� �ƴ�) ����� �������� �α����ϼż� �� �۾��� �����ϼž� �մϴ�.
�Ұ� ȭ���� ��Ÿ���� Ű �ɼ��� �����ݴϴ�. �� �� �� �ɼ��� ����Ʈ�μ� ����˴ϴ�. ������ ���ʽÿ�:
gpg (GnuPG) 1.2.1; Copyright (C) 2002 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details. Please select what kind of key you want: (1) DSA and ElGamal (default) (2) DSA (sign only) (5) RSA (sign only) Your selection? |
������ �ɼ��� �����ϴ� ��κ��� ȭ�鿡���� ����Ʈ �ɼ��� ��ȣ �ȿ� ��Ÿ���ϴ�.
������
ù ȭ�鿡���� ����Ʈ �ɼ�: (1) DSA and ElGamal�� �����ϼž� �մϴ�.
�� �ɼ��� �����Ͻø� ������ ������ �����ϰ� �ΰ��� ������ ����� ����Ͽ� ��ȣȭ(�� �ص�)�� ���������ϴ�.
�⺻���� 1�� �Է��ϰ�
������ Ű ũ�⸦ �����ϴ� �ܰ��Դϴ�. �Ϲ������� Ű�� ���̰� �����
�� �����մϴ�. ������ ��쿡�� ����Ʈ ���� 1024 ��Ʈ�� �����մϴ�.
���� �ɼ��� Ű�� ��ȿ �Ⱓ�� ���ϴ� ���Դϴ�. �Ϲ������� ����Ʈ �� (0 = key does not
expire)�� ����մϴ�. ���� ��ȿ �Ⱓ�� ���Ͻø�,
����Ű�� ��ȯ�� ��� ����鿡�� ����Ű�� �������� �˷��� ���ο� ����Ű�� �ٲپ� �ִ� ���� ���� ���ʽÿ�.
��ȿ �Ⱓ�� ������ �����Ŵٸ�, ������ �ٽ� Ȯ���ϵ��� ��û�� ���Դϴ�.
Ȯ���� ����
������ ����� �̸�, �̸��� �ּҿ� ������ ������ ��� ����� ID�� �����ϴ� ���Դϴ�. ������ �Ϸ�Ǹ� �������� �Է��Ͻ� ������ ���Ǿ� ��Ÿ���ϴ�.
�� �ٲ� ���� ������ ��й���(passphrase)�� �Է��մϴ�.
![]() | ��Ʈ |
---|---|
�������� ���� ��ȣ�� ���������� GnuPG���� ������ ������ ���ؼ��� ���� ��й����� �ʿ��մϴ�. ���� ��� ��й����� �빮�ڿ� �ҹ���, ���� �Ǵ� �������� ��� ����ϴ� ���� �����ϴ�. |
�ϴ� ��й����� �Է��ϰ� Ȯ���Ͻø� ����Ű�� ���Ű�� �����˴ϴ�. ������ ���� ������ ��Ÿ�� ���Դϴ�:
We need to generate a lot of random bytes. It is a good idea to perform some other action (type on the keyboard, move the mouse, utilize the disks) during the prime generation; this gives the random number generator a better chance to gain enough entropy. +++++.+++++.++++++++....++++++++++..+++++.+++++.+++++++.+++++++ +++.++++++++++++++++++++++++++++++++++++++..........................++++ |
ȭ�鿡�� �̷������ �۾��� ���߸� ���ο� Ű���� ��������� ������ Ȩ ���丮 ���� .gnupg ���丮�� ����˴ϴ�. ����Ű�� ���Ű�� ���� ���ؼ��� ���� ������ ����մϴ�:
gpg --list-keys |
������ ������ ����� ��Ÿ�� ���Դϴ�:
/home/username/.gnupg/pubring.gpg ----------------------------------------- pub 1024D/B7085C8A 2000-06-18 Your Name <you@example.com> sub 1024g/E12AF9C4 2000-06-18 |
1.0.6 ���� ���� GnuPG Ű�� �����Ͻ� ���, �������� ���Ű�� �������Ͻ� �� ���ο� ���Ű�� �������̴ٸ� 1.0.7 ���� ���� ���� �����ϱ� ���� �������� Ű�� �����ϰ� �ſ����ּž� �մϴ�. Ű�� �ſ��ϱ� ���ؼ��� ������ ���� ������ �Է��Ͻʽÿ� (<user-id> �κ��� �������� ����� ID�� ��ü�Ͻñ� �ٶ��ϴ�):
gpg --edit-key <user-id> |
Command> ������Ʈ���� trust��� �Է��Ͻ� �� Ű�� �ſ��ϱ� ���Ͽ� 5 = I trust ultimately�� �����Ͻʽÿ�.