Replies: 7 comments 3 replies
-
Regarding the vault feature we want to implement, there are some details I'd like to discuss: To implement this, I plan to create a Regarding the automatically changing frontend password:
|
Beta Was this translation helpful? Give feedback.
-
The Once the X seconds are up, then pgagroal changes the password which in-turn will invalidate the connection upon return to the pool. The vault should be a more advanced version of the existing |
Beta Was this translation helpful? Give feedback.
-
Some details i want to discuss:
I will gradually clarify my TODO list in the discussion and update its progress. Progress:
|
Beta Was this translation helpful? Give feedback.
-
I'm coming a bit late to this, but I'd like to add a few notes. First of all, why not extending/refactoring the Moreover, I'm not sure with regard to HTTP GET being idempotent, I think it is fine to use GET even if that exposes a risk to be flooded with requests for getting a new password with randomly generated users. I would prefer to do that in POST and use a shared secret between the vault and the |
Beta Was this translation helpful? Give feedback.
-
The The vault idea - and this GSoC project - is to provide a simple solution to having the front end password change, and the foundation in pgagroal to have an infrastructure for more advanced vault solutions in the future - how is https://www.vaultproject.io/ going to integrate ? For now, we should be focused on how to make the user password change, how to serve it, and how to secure it. Yes, maybe the documentation will assume a secure network, but that should be explained. Once the initial solution is in place there are likely going to be many places for improvements - f.ex. I would like to see HTTPS support for starters... So, having a separate binary with the vault functionality is the best way forward right now - where things are located is a question once pull requests are filed |
Beta Was this translation helpful? Give feedback.
-
#378 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am Jichen Xu, glad to be selected as GSoC 2023 contributor. May we have a pleasant and productive collaboration in our work this year.
Currently pgagroal already implemented frontend user mode to allow users access the database without the actual database password, and we can make it a simple vault base on it. This way, we can periodically change the frontend password and improve security.
Several things need to be done:
pgagroal-vault
as a simple HTTP server so that it can listen and response to user requests.pgagroal-vault
andpgagroal
.pgagroal
will periodically change front-end secret. Users have to fetch a new secret every n seconds.pgagroal-vault
to support x.509 authentication.My proposal is here, you can read it for more details.
Any suggestions would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions