Commit fb19d0b
committed
add SRP user authentication method
Implement the SRP (Secure Remote Password) UAM for AFP,
as used by Apple Time Capsule.
The protocol uses SRP-6a with SHA-1,
MGF1 KDF, and RFC 5054 group #2 (1536-bit).
afppasswd is modified to operate on SRP storage file by default,
which stores per-user salts and verifiers,
while retaining the legacy RandNum functionality
activated with the -r flag.
An additional breaking change is that afppasswd -a now takes username
as argument rather than previous positional username arugment.
The containers now use SRP for authentication by default.1 parent 0cddfa8 commit fb19d0b
18 files changed
Lines changed: 1645 additions & 157 deletions
File tree
- .github/workflows
- bin/afppasswd
- contrib/webmin_module
- lang
- distrib/docker
- doc
- manpages
- man1
- man5
- manual
- etc
- afpd
- uams
- include/atalk
- libatalk/util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | | - | |
100 | | - | |
| 106 | + | |
| 107 | + | |
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
| |||
0 commit comments