Skip to content

Add ephemeral encryption option to nymserv#1

Open
rxcomm wants to merge 17 commits intocrooks:masterfrom
rxcomm:master
Open

Add ephemeral encryption option to nymserv#1
rxcomm wants to merge 17 commits intocrooks:masterfrom
rxcomm:master

Conversation

@rxcomm
Copy link
Copy Markdown

@rxcomm rxcomm commented May 6, 2014

These changes add an ephemeral encryption option to nymserv. The configuration header to enable this new option is:

ephemeral: <your ephemeral encryption key here>

Key management for ephemeral keys is done using the Axolotl protocol as implemented in the pyaxo python module from https://github.com/rxcomm/pyaxo. Installation of pyaxo and dependencies is required for the nymserv script to run with the changes in this pull request. The ephemeral encryption key in the configuration header serves as the shared secret between nymserver and client to initialize the key database. A python script to manage client-side encryption keys, create nyms with ephemeral encryption, and use the nymserver (together with some brief documentation) is available for download at http://anemone.mooo.com/nymserver.

Note that all original nymserv configuration options are preserved. These changes only add the ephemeral option.

rxcomm and others added 17 commits May 4, 2014 13:19
Manipulating Axolotl has been simplified and the `generic.db` file could
be removed due to pyaxo's new method to create states.

The modes (Alice and Bob) being used by the nym server and the nym were
swapped, based on the latest protocol specification (Oct/2014), where
Alice needs Bob's Diffie-Hellman Ratchet Key to start ratcheting.
Use new feature from pyaxo 0.4.1 and swap modes
This commit implements (by hand) Steve's acksend changes in
his commit 85d1680.

They wouldn't apply cleanly over my ephemeral changes, so I
added them by hand.
Changes from crooks/nymserv@85d1680
also assigned a boolean value for positive fields being parsed by
`make_moddict`, but did not update where `'yes'` was expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants