diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-04 22:11:43 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-12-27 12:42:12 +0100 |
commit | ad17b9e2b4bebcf744129ed5a1a2c6e544d42739 (patch) | |
tree | 791ee08db4c1759d89660bc1c90dd867e2662d91 /web/lib | |
parent | 253e76d8cc718acef6bab802c76c4a70623b59cc (diff) | |
download | aur-ad17b9e2b4bebcf744129ed5a1a2c6e544d42739.tar.gz aur-ad17b9e2b4bebcf744129ed5a1a2c6e544d42739.tar.xz |
Add basic Git authentication/authorization scripts
This adds two scripts to be used together with Git over SSH:
* git-auth.py is supposed to be used as AuthorizedKeysCommand. It checks
whether the public key belongs to any AUR user and invokes
git-serve.py, passing the name of the corresponding user as a command
line argument, if any.
* git-serve.py is a wrapper around git-shell(1) that checks whether the
user passed as command line argument has access to the Git repository
that a push operation writes to.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib')
0 files changed, 0 insertions, 0 deletions