inhies / cjdcmd

cjdcmd is a command line tool for cjdns
Other
43 stars 16 forks source link

Make passgen command a little more useful. #30

Closed ryansb closed 11 years ago

ryansb commented 11 years ago

Allow users to prepend stuff to the passwords by appending an argument to passgen. Intended to make it easier for people to keep track of peering passwords.

inhies commented 11 years ago

I could add this, but really, you should add meta data in the JSON to store additional information about a password. For instance, when I cjdcmd addpass and it creates a password for me, I also add a field 'username' and 'location' so I dont forget who the password is for or where they should be connecting from.

Thoughts?

ryansb commented 11 years ago

I generally try to avoid adding nonessential fields in case people are using tools that don't make it as easy as cjdcmd.

More importantly (IMHO) it lets you embed metadata in the password, so you don't have to rely on other people keeping relevant metadata, like if you prefix it with "public" people understand they can share it, etc.

inhies commented 11 years ago

Sorry it took so long to merge this, I appreciate your contributions!