Skip to main content

7. Example User Interface and Implementation

In order to place the mechanisms and approaches discussed in this RFC into context, this section presents an overview of a prototype implementation. This implementation is a standalone program [10] which is invoked by a user, and lies above the existing UA sublayer. This form of integration offers the advantage that the program can be used in conjunction with a range of UA programs, rather than being compatible only with a particular UA. When a user wishes to apply privacy enhancements to an outgoing message, the user prepares the message's text and invokes the standalone program (interacting with the program in order to provide address information and other data required to perform privacy enhancement processing), which in turn generates output suitable for transmission via the UA. When a user receives a privacy-enhanced message, the UA delivers the message in encrypted form, suitable for decryption and associated processing by the standalone program.

In this prototype implementation, a cache of IKs is maintained in a local file, with entries managed manually based on pairwise agreements between originators and recipients. This cache is, effectively, a simple database. IKs are selected for transmitted messages based on recipient names, and corresponding IK IDs are placed into the message's encapsulated header. When a message is received, the IK ID is used as a basis for a lookup in the database, yielding the appropriate IK entry. DEKs and IVs are generated dynamically within the program.

Options (e.g., authentication only vs. authentication with confidentiality service) are selected by command line arguments to the standalone program. Destination addresses are specified in the same fashion. The function of specifying destination addresses to the privacy enhancement program is logically distinct from the function of specifying the corresponding addresses to the UA for use by the MTS. This separation results from the fact that, in many cases, the local form of an address as specified to a UA differs from the Internet global form as used for IK ID fields.