metridoc-archives / metridoc-grails-core

all grails functionality for metridoc
0 stars 0 forks source link

on bootup, create a random key in the database #21

Closed tbarker9 closed 11 years ago

tbarker9 commented 11 years ago

assigned to Thomas Apicella. We still have a few issues before 0.7 and you are about to finish your last one, so assigning this to you.

tbarker9 commented 11 years ago

Basically use commons StringRandomUtils to create a random alphanumeric string into a mkey file located at ~/.metridoc. This will be used to encrypt certain data.

TApicella commented 11 years ago

64 char.

tbarker9 commented 11 years ago

Sorry for the back and forth, decided a file would be best for this

TApicella commented 11 years ago

Should a new key be generated on every bootup, or should it check to see if the key already exists?

tbarker9 commented 11 years ago

Check if it already exists.

On Thu, Jul 18, 2013 at 12:49 PM, TApicella notifications@github.comwrote:

Should a new key be generated on every bootup, or should it check to see if the key already exists?

— Reply to this email directly or view it on GitHubhttps://github.com/metridoc/metridoc-grails-core/issues/21#issuecomment-21197475 .

TApicella commented 11 years ago

Accidentally committed to 0.7.

tbarker9 commented 11 years ago

Sorry for the wishy washy bs but we are putting this into the database now

tbarker9 commented 11 years ago

Should do this before #20

TApicella commented 11 years ago

Aww damnit I forgot to do the pull request thing. Or do I only do that after this branch is done?