Создайте ключ PGP с размером ключа DSA 1024 бита и размером ключа Эль-Гамаля 2048 бит с помощью Mac GPG 2.0

1070
Alex Marshall

Может кто-нибудь сказать мне, как сгенерировать ключ PGP с Mac GPG 2.0, который использует ключ DSA для подписи длиной 1024 бита и ключ Эль-Гамаля для шифрования длиной 2048 бит? Я пытался использовать инструмент как через графический интерфейс, так и из командной строки, и кажется, что он позволяет генерировать ключи только симметричной длины (т. Е. 1024 или 2048 для обоих). Мне нужен тот, который указан выше, чтобы общаться с кем-то, использующим подобный ключ.

1

1 ответ на вопрос

1
Peter Michael Green

I THINK you can do this by creating the signing key with the "sign only" option and then adding an encryption subkey with the settings you want afterwards.

However I would STRONGLY advise against generating 1024 bit RSA or DSA keys unless you have absolutely no other option. The spook can probablly crack them now and they are likely to get further weakened over time both by improvements in the mathematical algorithms used to crack them and by increases in computing power.

If your correspondent really is running a version of gnupg so ancient it can't handle a 4096/4096 RSA/RSA key then you should really tell them to upgrade.

Похожие вопросы