Closed danpritts closed 7 years ago
Thanks! I've edited the page with your corrections. CED2AR does not store any user passwords, and likely never will itself; authentication is handled externally, e.g., through OAuth2 providers. As to the comment you suggested elsewhere on BaseX, thanks for pointing out the terminology slip - the reason we use it in this fashion is in order to allow ced2ar to connect to a local instance of basex, whose ports should not be exposed publicly for best security (I will make a note of this as well).
Ah, i deleted the comment regarding BaseX - I thought i was getting into the weeds.
Brandon Elam Barker mailto:notifications@github.com January 25, 2017 at 5:15 PM
Thanks! I've edited the page with your corrections. CED2AR does not store any user passwords, and likely never will itself; authentication is handled externally, e.g., through OAuth2 providers. As to the comment you suggested elsewhere on BaseX, thanks for pointing out the terminology slip - the reason we use it in this fashion is in order to allow ced2ar to connect to a local instance of basex, whose ports should not be exposed publicly for best security (I will make a note of this as well).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ncrncornell/ced2ar/issues/6#issuecomment-275250211, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBPMbXrjR1Y9Xola2SKFEi4jIXcO5HEks5rV8mMgaJpZM4LpdZK.
-- Dan Pritts ICPSR Computing & Network Services University of Michigan
in the docs, you write:
what you need to do is
echo -n 'password here' | sha1sum
-n gets rid of the trailing newline, which is the problem. Or, at least, it was for me in a similar situation.
As an aside, if you're ever storing user passwords, use something better than a plain sha1 hash. For the admin password, it's less obvious how risky it really is. If an attacker gets the hash, well, start over. (As long as you're not reusing that password somewhere...but you know better I'm sure :)