<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/filters/simple-authentication.lua, branch v1.2.2</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/filters/simple-authentication.lua?h=v1.2.2</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/filters/simple-authentication.lua?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2019-01-03T01:12:16Z</updated>
<entry>
<title>filters: migrate from luacrypto to luaossl</title>
<updated>2019-01-03T01:12:16Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-01-03T01:11:14Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7d87cd3a215976a480b3c71b017a191597e5cb44'/>
<id>urn:sha1:7d87cd3a215976a480b3c71b017a191597e5cb44</id>
<content type='text'>
luaossl has no upstream anymore and doesn't support OpenSSL 1.1,
whereas luaossl is quite active.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>auth-filters: use crypt() in simple-authentication</title>
<updated>2018-07-15T02:18:03Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2018-07-15T02:18:03Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=82856923bffaac3ac88a90a797ddb33dcee8635a'/>
<id>urn:sha1:82856923bffaac3ac88a90a797ddb33dcee8635a</id>
<content type='text'>
There's no use in giving a silly example to folks who will just copy it,
so instead try to do something slightly better.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>auth-filters: generate secret securely</title>
<updated>2018-07-15T01:30:57Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2018-07-15T01:22:12Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b73df8098f261ecbd4bc5ba689f9766a1a75f9a0'/>
<id>urn:sha1:b73df8098f261ecbd4bc5ba689f9766a1a75f9a0</id>
<content type='text'>
This is much better than having the user generate it themselves.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>auth-filters: do not use HMAC-SHA1</title>
<updated>2018-07-14T01:33:56Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2018-07-14T01:32:00Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=c3b5b5f648d953307672a4b30e9222787668f708'/>
<id>urn:sha1:c3b5b5f648d953307672a4b30e9222787668f708</id>
<content type='text'>
Though SHA1 is broken, HMAC-SHA1 is still fine. But let's not push our
luck; SHA256 is more sensible anyway.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>simple-authentication.lua: tie secure cookies to field names</title>
<updated>2015-03-05T14:51:22Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-03-05T14:45:25Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=ecd6b7230c88deb23f880ee1df75ae4b230cf9ec'/>
<id>urn:sha1:ecd6b7230c88deb23f880ee1df75ae4b230cf9ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>simple-authentication: style</title>
<updated>2014-01-22T23:58:07Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-22T23:58:07Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=aa6d5b105de9de6d01855c15217e46fd36890dbc'/>
<id>urn:sha1:aa6d5b105de9de6d01855c15217e46fd36890dbc</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>auth: document tweakables in lua script</title>
<updated>2014-01-17T14:34:44Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-17T14:34:44Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9dde6d38e9fc273fc62386eeda0da2e89a2cebfc'/>
<id>urn:sha1:9dde6d38e9fc273fc62386eeda0da2e89a2cebfc</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>auth: have cgit calculate login address</title>
<updated>2014-01-16T22:21:54Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T22:21:54Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=a431326e8fab8153905fbde036dd3c9fb4cc8eaa'/>
<id>urn:sha1:a431326e8fab8153905fbde036dd3c9fb4cc8eaa</id>
<content type='text'>
This way we're sure to use virtual root, or any other strangeness
encountered.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>auth: lua string comparisons are time invariant</title>
<updated>2014-01-16T18:47:35Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T18:47:35Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=df00ab1096868b3cffe563c48de5572f78b50392'/>
<id>urn:sha1:df00ab1096868b3cffe563c48de5572f78b50392</id>
<content type='text'>
By default, strings are compared by hash, so we can remove this comment.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>authentication: use hidden form instead of referer</title>
<updated>2014-01-16T11:13:39Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2014-01-16T10:39:17Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=b826537cb4aa2358027ffcb1dd6a87274734e962'/>
<id>urn:sha1:b826537cb4aa2358027ffcb1dd6a87274734e962</id>
<content type='text'>
This also gives us some CSRF protection. Note that we make use of the
hmac to protect the redirect value.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
