MaddieM4 / EJTP-lib-python

Encrypted JSON Transport Protocol library for Python 2.6-3.3.
GNU Lesser General Public License v3.0
23 stars 10 forks source link

New options for ejtp-identity details ($50) #128

Closed MaddieM4 closed 11 years ago

MaddieM4 commented 11 years ago

Bundling a couple things into one issue here.

Multiple names

Script should print out the identity for each name given, separated by newlines.

--export | -e

The export option should wrap the output in the cache structure (dict with name-to-string keys). Use proper comma-based delineation between multiple identities.

--public | -p

For each identity, convert the encryptor to its public counterpart.


All these things will make it much easier and simpler to share encryption information. I can just do:

$ ejtp-identity details philip@roaming-initiative.com -ep > philip.pub.json

and email that to my friend Xerxes, who can merge it into his own local cache with:

$ ejtp-identity merge path/to/my/cache.json < philip.pub.json

Currently this is difficult, because you'd have to manually convert the encryptor, and add the necessary wrapper stuff to make the merge command work, etc. And of course, multiple names makes it easy to copy out a subset of your cache into a separate file, and you never know when that'll come in handy.

MaddieM4 commented 11 years ago

Bounty is $50.

http://www.freedomsponsors.org/core/issue/234/new-options-for-ejtp-identity-details


(Copied from acceptance criteria)

Implement all listed options, including multi-name, for the ejtp-identity details subcommand.