🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.security.pgp
1 messages
1 total messages Started by Gilberto F da Silva Sun, 02 Aug 2026 18:48
Re: Key Sizes
#1
Author: Gilberto F da Silva
Date: Sun, 02 Aug 2026 18:48
31 lines
2774 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2025-06-25, David E. Ross <nobody@nowhere.invalid> wrote:
> A DSS/DH key has two key sizes.  For example 4096/1024.  One is the size
> of the generated two-way one-time key used to encrypt a file.  The other
> is the size of the one-way keys used to encrypt and decrypt the one-time
> key.  I cannot remember which is which.  Does anyone know?
>

	opencode says:

The two numbers are the sizes of the two asymmetric keys, not the session key:
- - First number = DSS (DSA) — the signing key.
- - Second number = DH (ElGamal) — the encryption key, the public/private pair that encrypts/decrypts the session key.
The "two-way one-time key" that actually encrypts the file is a symmetric session key (128/256-bit, e.g. AES/CAST5) whose size comes from the cipher, not from the key-size notation. So in 4096/1024, the 1024 is the one that wraps the session key.
One caveat: DSA only supports 1024/2048/3072 bits, so a 4096-bit DSS key isn't standard — if you actually saw 4096/1024, it may have been DH 4096 / DSS 1024 with the order reversed in that display.

- -- 

Stela dato:2.461.254,317  Loka tempo:2026-08-01 16:36:09 Sabato   
Slackware 15.0 x86_64
-----BEGIN PGP SIGNATURE-----
Comment: +-----------------------------------------------------+
Comment: !        https://t.me/Gilberto_F_da_Silva             !
Comment: +-----------------------------------------------------+

iFcDBQFqb5DYdAvwmry29xoRCBraAQCYQzq3//SHpyuXLB0SJF191Ai8YrJkuw+0
k0/zqMqyIwEAuBdcaLDlk3A+VS5CWvqu4/pXo08mCC9cf8c26vLPllU=
=VzlY
-----END PGP SIGNATURE-----
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads