I have created a custom package repository for Arch Linux that holds packages that for various proprietary licensing reasons cannot be shared widely. Ideally I would like to make the repository available over the internet, but restrict access based on a password (or keys). I have found some instructions for Debian that provide a number of ways to restrict access to a repository but still allow
apt to function fairly normally.
The Arch wiki documentation is pretty thin. Is there a way to create a password (pubic/private key) protected repository for Arch that will work with
pacman? I do not want the user to have to mount the package repository prior to updating the machine. I would like
pacman to simply take care of everything. It is fine if the user needs to enter a password for the upgrade to work.