Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decide where to store passwords #5

Open
ltalirz opened this issue May 25, 2021 · 1 comment
Open

decide where to store passwords #5

ltalirz opened this issue May 25, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ltalirz
Copy link
Member

ltalirz commented May 25, 2021

It might be ok to store the hashed passwords of AiiDA users in the AiiDA DB - but perhaps in a different table (a bit like what is done for the Computers an the Authinfo).

To discuss

@ltalirz ltalirz added the enhancement New feature or request label May 25, 2021
@giovannipizzi
Copy link
Member

Up to now we tried to avoid putting credentials in the DB.
This might be a case where we want to put things in the DB, with some caveats:

  • if this remains outside of AiiDA-core, we need to be careful in tampering with the DB
  • we need to carefully describe what is in the DB, which tables are for exporting in archives and which should remain private to the instance

Another option is to put it in a file in ~/.aiida, side-by-side with the config.json

The additional question I have is: do we support/use (hashed) password, or tokens (permanent or expiring?), or both?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants