gpg.ru(1) - Linux man page

Name

gpg -- ���������� ��� ��������� � ������� �������

Synopsis

gpg [--homedir name] [--options file] [options] command [args]

��������

gpg ������� ��������� ������� GnuPG.

������ ����×����×� �×������ ������ GnuPG. GnuPG ���������������� �� ����×��� GNU General Public License, ��������×����� Free Software Foundation; ���� ×����� 2, ���� (�� ÷��� ����������) ����� ����� ������� ×�����.

������ ����×����×� �������� ������ ������ ��������� ������ � ���������×. ����� ��������� ���������� ���������� × GNU Privacy Handbook (GPH) � ������ ����������, ������� ����� ����� �� ����� http://www.gnupg.org.

�������� ×�������, ��� ������ ���������× �������×����� ����� ����� ����, ��� × ��������� ������ ×���������� ������� �� �×�������� ����������. ÷� ������ ������������� ���������� ������ ���������×, ��������� ����������� �������� "--".

�������

gpg ����� ���� ������� ��� �������� �������, × ���� ������ �� ×�������� �����×�� × ��×�������� �� ���� ����� ��������� �� ��� ×��� (�������×����� ��������� ��������×�×�����, ������� ���×�������, ���� ���� �������� �����, �� ×�×������ �� ������).

gpg ��������� ��������� �������:

-s, --sign
������� �������. ������ ������� ����� ������������� �������� � --encrypt (��� �������� ����������� � ������������ ���������), --symmetric (��� �������� ��������� ����������� � ������������ ������������ ������) ��� � --encrypt � --symmetric ����� (��� �������� ����������� ���������, ������� ����� ���� ����������� ��� � ������� ���������� ����� ��� ���������� ������������� �����).
--clearsign
������� ���������� �������.
-b, --detach-sign
������� ����̣���� �������.
-e, --encrypt
���������� ������. ����� ������������� �������� � --sign (��� �������� ����������� � ������������ ���������), --symmetric (��� �������� ������������ ���������, ������� ����� ����������� ��� � ������� ���������� �����, ��� � ��������� ������� �����) ��� � --sign � --symmetric ����� (��� �������� ����������� � ������������ ���������, ������� ����� ����������� ��� � ������� ���������� �����, ��� � ��������� ������� �����).
-c, --symmetric
���������� ������������ ���������� ��������� ������� ����� (������). �� ��������� ������������ �������� CAST5. ��� ����� ������� ��������� ����� ������������� ���������� --cipher-algo. ����� ������������� �������� � --sign (��� �������� ����������� � ������������ ���������), --encrypt (��� �������� ������������ ���������, ������� ����� ����������� ��� � ������� ���������� �����, ��� � ��������� ������� �����) ��� � --sign � --encrypt ����� (��� �������� ����������� � ������������ ���������, ������� ����� ����������� ��� � ������� ���������� �����, ��� � ��������� ������� �����).
--store
������ ����� × ����×����×�� � RFC1991.
--decrypt [file]
��������×�×��� file (��� ����������� ××��, ���� ���� �� �����) � ×�×���� ��� �� ����������� ×�×�� (��� × ���� ������̣���� ���������� --output). ���� ��������×����� ���� ��������, �� ����� ���×������� �������. ��� ������� ���������� �� �������� �� ��������� ���, ��� ������� �� ��������� ��������� × ����� � ������ ��������� × �������×����� ����� � �� ��������×��� ����� �� ������������ � �������×������ ���������.
--verify [[sigfile] [signed-files]]
������������, ��� sigfile �������� ������� � ���×����� ţ, �� ×�×��� ���������� ���������. ��� ���������×, �����×��� ����������� ������ �� ������������ ××���. ���� ����� ������ ���� �������, �� × Σ� ����� ����������� ���� ��������� ����������� ��������, ���� ����̣���� �������. ÷ ��������� ������ ����������� �������� ������ ����������� × ����� ��� ���������� ".sig" ��� ".asc". ���� ������� ����� ������ ���������, �� ���×�� ������ ���� ����̣���� ��������, � ��������� ������ ��������� ����������� ��������. ��� �����×���� ������������ ��������� �� ������������ ××���, ����������� - × ������×� ����� ×������ �����. �� �������� ������������, ��� ��������×���� ����̣���� �������, ����������� �������� �� ����� �����×����� �� ������������ ××��� ��� �×���� �������� ×������������� �������.
--multifile
�������� ��×������ ��������� ������ ������ ���, ����� ��� ����� ��������×��� ����� ��������� �����×. ����� �����× �����×����� × ��������� ������ ��� �������� �� ����������� ××�� �� ������ × ������. ��� ���×����� ��������×��� �������×� �����× ����� ��������. ÷ ��������� ×���� --multifile ����� ��������×����� ��×������ � --verify, --encrypt, � --decrypt. ��������, ��� "--multifile --verify" ������ ��������×��� ��� ���×���� ����̣���� ��������.
--verify-files [files]
��������� --multifile --verify.
--encrypt-files [files]
��������� --multifile --encrypt.
--decrypt-files [files]
��������� --multifile --decrypt.
--list-keys [names]
--list-public-keys [names]
÷�×���� ×�� ����� �� �×���� �������� ������, ��� ������ ��������� × ��������� ������. ××××
  • ����������, �.�. ������ ×�×��� ����� �������� × ������ ×������ GnuPG. ��� �������� ��������� ������������� ��������×��� ×�×�� ������� --with-colons.
-K, --list-secret-keys [names]
÷�×���� ×�� ����� �� �×���� ��������� ������, ��� ������ ��������� × ��������� ������. ���� '#' ����� ���×���× sec ��������, ��� ��������� ���� �� ������������ (����., ���� �� ��� ������ �������� --export-secret-subkeys).
--list-sigs [names]
�� ��, ��� � --list-keys, �� ������������� ×�×���� ������� �� ������. ×
  • � ��������������� �����. ��� ����� �������� �������������� ���������� � ������ �������. ����� 1-3 �����×��� �� ���×��� ���×���� ����������� (��. --ask-cert-level), "L" ��� ��������� ��� ���������������� �������� (��. --lsign-key), "R" ��� ������×����� �������� (��. nrsign × �������� --edit-key), "P" ��� �������� ���������� URL �������� ������� (��. --cert-policy-url), "N" ��� �������� ���������� ���������� (��. --cert-notation), "X" ��� �������� ���� �����×�� ������� ��ԣ�. (��. --ask-cert-expire), ����� 1-9 ��� "T" ��� 10 � �����, ����� ������� ���×��� ��×������� ������� (��. tsign × �������� ������� --edit-key).
--check-sigs [names]
�� ��, ��� � --list-sigs, �� ������� ����������.
--fingerprint [names]
÷�×���� ×�� ����� � �� ���������. ��� ��� �� ×�×��, ��� � � --list-keys, �� ��� ������� ����� ����×������ ������, ���������� ��� ���������. ����� ��������×����� ��×������ � --list-sigs ��� --check-sigs. ���� ������� ������ �×����, �� ×�×������ ��������� � ��� �����Σ���� ������.
--list-packets
÷�×���� ������ ������×. ������������, × ����×���, ��� �������.
--gen-key
���������� ��×�� ���� ������. ������ �������, ��� ���×���, ������������ ������ ���������×��. ××××
  • �������� ������. ����������� × ����� doc/DETAILS × �������� ����������×�.
--edit-key name
������������ ����, ���������� �������� �� ������ �� ��������� �������:
sign
��������� ���� ������×����� name. ���� ���� �� ��� �ݣ �������� ������ ������×����� �� ��������� ( ��� ������×����� ��������� ���������� -u), �� ��������� ×�×���� ���������� � �����, ×����� � ���������� � �������×��� ����×�������� �� ������� �����. ����×�������� �������×����� ��� ������� ������×�����, ��������� ���������� -u.
lsign
�� ��, ��� � "sign", �� ������� ���������� ��� ���������������� � ������� �� ��������� ������ ������×������. ����� ��������×�����, ����� ������� ����� �����×��������� ������ × ��������� ���������.
nrsign
�� ��, ��� � "sign", �� ������� ���������� ��� �����������. ����� ������� ��������� ����� �������.
nrlsign
���������� ���������������� nrsign � lsign, ������� ����������� � ���������������� �������.
tsign
������� ��×������� �������. ��� ������� ���������� �������� ������������ (��� � ������� �������) � ������×�� ��×���� (��� ������� "trust"). �������, × ����� ������, ��������� × ������������ ��������×�� � �������.