<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit-simple-authentication/src, branch master</title>
<subtitle>Simple authentication for cgit powered by sqlite and redis</subtitle>
<id>https://git.leanhe.dev/cgit-simple-authentication/atom/src?h=master</id>
<link rel='self' href='https://git.leanhe.dev/cgit-simple-authentication/atom/src?h=master'/>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/'/>
<updated>2026-09-03T08:55:32Z</updated>
<entry>
<title>chore(deps): Upgrade argon2 to 0.6 and refresh dependencies</title>
<updated>2026-09-03T08:55:32Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2026-09-03T08:55:32Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=e9c479e78779745a942c63dda5add4a055647cbe'/>
<id>urn:sha1:e9c479e78779745a942c63dda5add4a055647cbe</id>
<content type='text'>
- argon2 0.6 generates the salt internally, so drop the explicit
  password-hash dependency along with SaltString/OsRng usage
- hash_password now takes only the password; update callers in
  datastructures.rs and the test module accordingly
- switch PasswordHash import to argon2::password_hash::phc
- bump base64 0.22-&gt;0.23, itertools 0.14-&gt;0.15, regenerate Cargo.lock
- bump crate version to 4.4.1

Co-Authored-By: Claude Sonnet 5 &lt;noreply@anthropic.com&gt;
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>fix: Fix OsRng import and refactor Redis connection setup</title>
<updated>2026-06-11T06:53:23Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2026-06-11T06:53:23Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=9e67f120b797bae10bd226bbb4632f8d19a24361'/>
<id>urn:sha1:9e67f120b797bae10bd226bbb4632f8d19a24361</id>
<content type='text'>
- Fix password-hash version mismatch (0.6→0.5) causing OsRng to be
  gated behind missing getrandom feature; enable argon2 rand feature
- Extract get_redis_connection() helper to deduplicate Redis client
  setup across authentication, repo control, and tests
- Tighten username validation regex to require ≥2 chars and disallow
  leading/trailing dots or hyphens
- Handle malformed cookies without split_once gracefully (continue
  instead of panic)
- Fix typos: "rated commands" → "related commands" in CLI help text

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>feat: Add configurable Redis URL (claude)</title>
<updated>2026-02-09T13:51:38Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2026-02-09T13:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=c708a63f7e5b9b22f8095ede0be56115eccbbac8'/>
<id>urn:sha1:c708a63f7e5b9b22f8095ede0be56115eccbbac8</id>
<content type='text'>
* feat: Add login rate limiting (claude)
* feat: Add SameSite cookie attribute (claude)

Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>refactor: Remove pam authentication method</title>
<updated>2026-02-09T12:59:33Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2026-02-09T12:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=735612ccfba150978d174fcc7d95b2ea3013ab9e'/>
<id>urn:sha1:735612ccfba150978d174fcc7d95b2ea3013ab9e</id>
<content type='text'>
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>chore: Update crates</title>
<updated>2026-02-09T12:55:59Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2026-02-09T12:55:59Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=2d3d384f2c32562df304d027c30e6986bd94c157'/>
<id>urn:sha1:2d3d384f2c32562df304d027c30e6986bd94c157</id>
<content type='text'>
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>refactor: Move functions out of main.rs</title>
<updated>2025-03-25T14:43:40Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2025-03-25T14:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=8b091d4ddc499be6bc4ce4d430a0c09f433f9884'/>
<id>urn:sha1:8b091d4ddc499be6bc4ce4d430a0c09f433f9884</id>
<content type='text'>
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>feat(ci): Update workflow file</title>
<updated>2025-03-07T12:40:46Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2025-03-07T12:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=2591672ed9934393029cb5097c2d79bdad591c08'/>
<id>urn:sha1:2591672ed9934393029cb5097c2d79bdad591c08</id>
<content type='text'>
* chore: Address clippy suggestion

Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>chore: Update to rust-2024 version</title>
<updated>2025-03-04T14:48:32Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2025-03-04T14:48:32Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=58047f90f79b129e445cbf856a23b3a5518c0b12'/>
<id>urn:sha1:58047f90f79b129e445cbf856a23b3a5518c0b12</id>
<content type='text'>
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>chore: Update crates</title>
<updated>2024-08-30T11:55:36Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2024-08-30T11:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=1c9133be32345593b64cb4fff7fe28206adb3fb8'/>
<id>urn:sha1:1c9133be32345593b64cb4fff7fe28206adb3fb8</id>
<content type='text'>
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>chore(dep): Upgrade crate library</title>
<updated>2023-03-28T11:43:54Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2023-03-28T11:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=c6406ea0eddc9a02a844c2f8ebc60ebc03e0faa8'/>
<id>urn:sha1:c6406ea0eddc9a02a844c2f8ebc60ebc03e0faa8</id>
<content type='text'>
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
</feed>
