command
module
Version:
v0.0.0-...-a00141d
Opens a new window with list of versions in this module.
Published: Oct 3, 2021
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
pauth (push-authentication)
pauth is a self-hosted POC push authentication mechanism for SSH inspired by Duo's push notification mechanism.
Installation
⚠️⚠️⚠️ This project is a quick POC, please read the code and the PAM documentation before using it! ⚠️⚠️⚠️
- Install
pauth
to /usr/local/bin/pauth
- Add the following to
/etc/pam.d/sshd
:
auth required pam_permit.so
auth required pam_exec.so /usr/local/bin/pauth -server wss://pauth.domain.tld/ws -uuid 00000000-0000-0000-0000-000000000000 pam
TODOs
- Push notifications
- Progressive Web App
- Tests
- WebSocket pings
- Timeouts
- Proper logging
- Proper protocol for communication (JSON?, gob?)
- Restricting access to the API
- Public-key cryptography for linking "users" and "clients"
- CLI tool for linking "clients" (perhaps a QR code?)
- Support more than one client per server
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.