rpm  4.17.0
Data Fields
pgpPktLdata_s Struct Reference

5.8. More...

#include <rpmpgp.h>

Data Fields

uint8_t format
uint8_t filenamelen
uint8_t filename [1]

Detailed Description


Marker Packet (Obsolete Literal Packet) (Tag 10)

An experimental version of PGP used this packet as the Literal packet, but no released version of PGP generated Literal packets with this tag. With PGP 5.x, this packet has been re-assigned and is reserved for use as the Marker packet.

The body of this packet consists of:

Such a packet MUST be ignored when received. It may be placed at the beginning of a message that uses features not available in PGP 2.6.x in order to cause that version to report that newer software is necessary to process the message.

5.9. Literal Data Packet (Tag 11)

A Literal Data packet contains the body of a message; data that is not to be further interpreted.

The body of this packet consists of:

If it is a 'b' (0x62), then the literal packet contains binary data. If it is a 't' (0x74), then it contains text data, and thus may need line ends converted to local form, or other text-mode changes. RFC 1991 also defined a value of 'l' as a 'local' mode for machine-local conversions. This use is now deprecated.

If the special name "_CONSOLE" is used, the message is considered to be "for your eyes only". This advises that the message data is unusually sensitive, and the receiving program should process it more carefully, perhaps avoiding storing the received data to disk, for example.

Text data is stored with <CR><LF> text endings (i.e. network-normal line endings). These should be converted to native line endings by the receiving software.

Definition at line 862 of file rpmpgp.h.

Field Documentation

◆ filename

uint8_t pgpPktLdata_s::filename[1]

Definition at line 865 of file rpmpgp.h.

◆ filenamelen

uint8_t pgpPktLdata_s::filenamelen

Definition at line 864 of file rpmpgp.h.

◆ format

uint8_t pgpPktLdata_s::format

Definition at line 863 of file rpmpgp.h.

The documentation for this struct was generated from the following file: