diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-12-20 10:36:25 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-02-10 22:59:43 +0100 |
commit | f331a667d3827c5c7603c87956c601d5e42ef82b (patch) | |
tree | 13b7c011a87991654c56fa785a734f5c21ff86d3 /gnu/system/install.scm | |
parent | 11d5b505e5e0f6bccd804d407cc609b421962073 (diff) | |
download | guix-f331a667d3827c5c7603c87956c601d5e42ef82b.tar guix-f331a667d3827c5c7603c87956c601d5e42ef82b.tar.gz |
services: secret-service: Make the endpoint configurable.
Until now, the secret service had a hard-coded TCP endpoint on port
1004. This change lets users specify arbitrary socket addresses.
* gnu/build/secret-service.scm (socket-address->string): New procedure,
taken from Shepherd.
(secret-service-send-secrets): Replace ‘port’ by ‘address’ and adjust
accordingly.
(secret-service-receive-secrets): Likewise.
* gnu/services/virtualization.scm (secret-service-shepherd-services):
Likewise.
(secret-service-operating-system): Add optional ‘address’ parameter and
honor it. Adjust ‘start’ method accordingly.
Change-Id: I87a9514f1c170dca756ce76083d7182c6ebf6578
Diffstat (limited to 'gnu/system/install.scm')
0 files changed, 0 insertions, 0 deletions