The secrets handler will forward incoming HTTP requests to the Custodia REST API over a UNIX socket, but the stock Python requests module doesn't support http+unix://.
The relevant code in adapters.py is fairly small, so I was thinking of just doing a copy+paste job into commissaire-http rather than grow a new dependency and shepherd this small module through the Fedora package review process.
The
secrets
handler will forward incoming HTTP requests to the Custodia REST API over a UNIX socket, but the stock Pythonrequests
module doesn't supporthttp+unix://
.This adds support, but it's not packaged for Fedora: https://github.com/msabramo/requests-unixsocket
The relevant code in
adapters.py
is fairly small, so I was thinking of just doing a copy+paste job intocommissaire-http
rather than grow a new dependency and shepherd this small module through the Fedora package review process.Just filing this as an RFC.