Could someone explain "DEK" for me?

Werner Koch wk at
Mon Oct 25 10:07:56 CEST 2004

On Mon, 25 Oct 2004 10:02:02 +0800, Zuxy  said:

> Are both of them (DEK and session key) symmetrical encryption key?

DEK is OpenPGP parlance and in particular the structure:

typedef struct {
    int algo;
    int keylen;
    int algo_info_printed;
    int use_mdc;
    byte key[32]; /* this is the largest used keylen (256 bit) */
} DEK;

"session key" would be fine with me.  I can't recall why I used "DEK"
in the error message - its too long ago.


More information about the Gnupg-devel mailing list