Dark Internet Mail Environment (DIME)
Internet electronic mail (email) was designed in the early days of the Internet, and so lacks any mechanism to protect the privacy of the sender and addressee. Several techniques have been used in an attempt to increase the privacy of email. These techniques have provided either modest increases in privacy, or have proven to be very difficult to use for most people.
In addition to protection of content, truly private email must limit information disclosed to handling agents, only exposing information necessary for delivery (the metadata), and provide robust identity guarantees which prevent the impersonation of senders.
The Dark Internet Mail Environment (DIME) achieves this level of privacy with core protocols using multiple layers of key management and multiple layers of message encryption. The DIME Protocol Specifications contain the full technical details of the DIME.
The libdime project holds the DIME library and associated command line utilities. This code is developed in conjunction with the magma mail daemon, and is a community effort to develop and maintain a C library for building DIME compatible software, and the standalone utilities to test, debug, and administer a DIME compatible mail service.
Please see the Quick Start Guide.
System: c dl rt pthread resolv
Bundled for DIME: zlib openssl donna
Bundled for the Unit Tests googletest gtest-tap-listener
- CentOS 6 x86_64
- CentOS 7 x86_64
First, build the bundled dependences:
The specific make targets:
make dime make signet make genrec make libdime.a make libdime.so
Finally, to compile and run the unit tests use:
Or compile the check utility with the make target:
|checs/||The DIME unit test source code.|
|lib/||The bundled depedencies.|
|res/||Resource files used by the different components and utilities.|
|sandbox/||Where temporary resources are stored by the unit tests.|
|src/||The libdime source code.|
|tools/dime/||Retrieve and validate a signet from a DIME compatible server using DMTP.|
|tools/signet/||Generate, sign, view and verify a signet.|
|tools/genrec/||Generate a DIME management record which must be added to the DNS zone file.|
An slightly outdated video presentation of the DIME standard and the various command line tools: