<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit-simple-authentication, branch master</title>
<subtitle>Simple authentication for cgit powered by sqlite and redis</subtitle>
<id>https://git.leanhe.dev/cgit-simple-authentication/atom/?h=master</id>
<link rel='self' href='https://git.leanhe.dev/cgit-simple-authentication/atom/?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>fix: Fix compile error</title>
<updated>2026-02-09T12:42:41Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2026-02-09T12:42:41Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=4ccffb79fd241497c7ccd63e14374e00561785e3'/>
<id>urn:sha1:4ccffb79fd241497c7ccd63e14374e00561785e3</id>
<content type='text'>
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>doc: Enrich README.md (claude)</title>
<updated>2026-02-06T12:43:15Z</updated>
<author>
<name>KunoiSayami</name>
<email>i@leanhe.dev</email>
</author>
<published>2026-02-06T12:43:15Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=ee6cbf82d93e498475e86697bde7bf8bb07d39d5'/>
<id>urn:sha1:ee6cbf82d93e498475e86697bde7bf8bb07d39d5</id>
<content type='text'>
Signed-off-by: KunoiSayami &lt;i@leanhe.dev&gt;
</content>
</entry>
<entry>
<title>chore(deps): Bump rsa from 0.9.8 to 0.9.10</title>
<updated>2026-01-07T06:53:50Z</updated>
<author>
<name>dependabot[bot]</name>
<email>49699333+dependabot[bot]@users.noreply.github.com</email>
</author>
<published>2026-01-06T18:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=1d03764b13e4514dbe8bd42cda7fd7d28dfd3e42'/>
<id>urn:sha1:1d03764b13e4514dbe8bd42cda7fd7d28dfd3e42</id>
<content type='text'>
Bumps [rsa](https://github.com/RustCrypto/RSA) from 0.9.8 to 0.9.10.
- [Changelog](https://github.com/RustCrypto/RSA/blob/v0.9.10/CHANGELOG.md)
- [Commits](https://github.com/RustCrypto/RSA/compare/v0.9.8...v0.9.10)

---
updated-dependencies:
- dependency-name: rsa
  dependency-version: 0.9.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] &lt;support@github.com&gt;</content>
</entry>
<entry>
<title>chore(deps): Bump tokio from 1.44.1 to 1.44.2</title>
<updated>2025-04-09T00:40:14Z</updated>
<author>
<name>dependabot[bot]</name>
<email>49699333+dependabot[bot]@users.noreply.github.com</email>
</author>
<published>2025-04-08T02:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.leanhe.dev/cgit-simple-authentication/commit/?id=2a49dd1a98e6f42c732b1d978e2da59ba4b78cfe'/>
<id>urn:sha1:2a49dd1a98e6f42c732b1d978e2da59ba4b78cfe</id>
<content type='text'>
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.44.1 to 1.44.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.44.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] &lt;support@github.com&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>
</feed>
