Hello,
I have an idea for a feature that I would like to write and eventually
merge into pacman. I post in this mailing list to find out if there is
an interest in it before I start coding.
My goal is to have a custom repository that can only be used by me.
First I tried to create an ssh host in ~/.ssh/config ...
```
Host Custom
Hostname custom.org
User root
Port 1
IdentityFile /path/to/file
```
... and then use it /etc/pacman.conf ...
```
[custom]
Server = ssh://Custom:~/path/to/repo
```
... but that doesn't work.
But https URLs do work. So if I could specify a TLS certificate that is
signed by a certificate authority certificate that I control I could use
a regular https URL but still be the only one with the required TLS
certificate to connect. From what I saw libalpm uses libcurl. libcurl
has options like `CURLOPT_SSLCERT` and `CURLOPT_SSLKEY` that can be set
with `curl_easy_setopt`. Those two options could be controlled through
the pacman configuration file.
Maybe there is a better solution already available without changing any
code that I overlooked. Maybe you have a different solution to my goal.
Maybe you are a maintainer and know that such a feature is not wanted.
I'm interested in hearing all these thoughts.
Best regards,
nibo