<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swaylock/.git, branch v1.8.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/'/>
<entry>
<title>build: bump version to 1.8.2</title>
<updated>2025-03-22T15:19:54+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-22T15:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=a1cf39ab0ff0687994a66ba116b316bc59849e2c'/>
<id>a1cf39ab0ff0687994a66ba116b316bc59849e2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>comm: assert that password size is positive</title>
<updated>2025-03-21T21:31:38+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-21T00:55:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=9f70dd4ca6b0942b83202c9e81eebf0547bdccad'/>
<id>9f70dd4ca6b0942b83202c9e81eebf0547bdccad</id>
<content type='text'>
If it's not, we may be reading before the buffer bounds later.
(The password buffer size is aligned to the page size.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If it's not, we may be reading before the buffer bounds later.
(The password buffer size is aligned to the page size.)
</pre>
</div>
</content>
</entry>
<entry>
<title>main: null-terminate initial password buffer</title>
<updated>2025-03-21T04:43:42+00:00</updated>
<author>
<name>Keenan Gugeler</name>
<email>me@kgugeler.ca</email>
</author>
<published>2025-03-21T01:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=66b6c7e5802dfe76fbba5daa58b3d517e477bbd0'/>
<id>66b6c7e5802dfe76fbba5daa58b3d517e477bbd0</id>
<content type='text'>
Fixes #403.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #403.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: bump version to 1.8.1</title>
<updated>2025-03-20T11:38:37+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-20T11:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=9bdf4b28496462df1cc4943ee5a0e9b5df4fe312'/>
<id>9bdf4b28496462df1cc4943ee5a0e9b5df4fe312</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Assert that password buffer is NULL-terminated</title>
<updated>2025-03-18T21:31:44+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-12T07:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=429e860a37daf096a136c5ae5d28271aaf99b6ac'/>
<id>429e860a37daf096a136c5ae5d28271aaf99b6ac</id>
<content type='text'>
read_comm_request() just copies bytes around. handle_conversation()
relies on the fact that the password buffer is NULL-terminated.
Make sure that's the case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
read_comm_request() just copies bytes around. handle_conversation()
relies on the fact that the password buffer is NULL-terminated.
Make sure that's the case.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: use cc.get_supported_arguments() for warnings</title>
<updated>2025-03-18T21:31:01+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-18T21:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=f18bc29ebe27397bebeeafb1c467f53179c72f81'/>
<id>f18bc29ebe27397bebeeafb1c467f53179c72f81</id>
<content type='text'>
Let's not require the C compiler to support specific warnings,
especially if half the flags are used to turn off the warnings
anyways.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let's not require the C compiler to support specific warnings,
especially if half the flags are used to turn off the warnings
anyways.
</pre>
</div>
</content>
</entry>
<entry>
<title>Define _POSIX_C_SOURCE globally</title>
<updated>2025-03-18T21:31:01+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-18T21:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=0b10244dc09c7108e7046700a4cd0a64dde57380'/>
<id>0b10244dc09c7108e7046700a4cd0a64dde57380</id>
<content type='text'>
Other Sway projects have switched to this approach.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Other Sway projects have switched to this approach.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "comm: improve robustness"</title>
<updated>2025-03-16T16:49:49+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-15T00:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=3415a7c9c10e6f5dace06cd222edd825e41e771d'/>
<id>3415a7c9c10e6f5dace06cd222edd825e41e771d</id>
<content type='text'>
This reverts commit e0ca5adecd0b0f89f20322c9b410b460e8f73c5b.

See 285d0292914b ("comm: improve robustness") for details.

Also add EINTR handling.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e0ca5adecd0b0f89f20322c9b410b460e8f73c5b.

See 285d0292914b ("comm: improve robustness") for details.

Also add EINTR handling.
</pre>
</div>
</content>
</entry>
<entry>
<title>Only submit password if previous validation completed</title>
<updated>2025-03-16T15:13:09+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2024-09-17T16:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=65f3eb349259d571397e5ab769dc5f524966c212'/>
<id>65f3eb349259d571397e5ab769dc5f524966c212</id>
<content type='text'>
This averts the risk that one can queue up many password submissions
by pressing enter repeatedly (or with key repeat, holding enter),
much more quickly than PAM will process them. It may also improve
usability by reducing unrevealed system state: now that at most one
password can be queued, the "Verifying" message is always shown when
a password is being validated.

However, this commit does introduce a minor UI issue: if one types
an invalid second password just slightly faster than PAM validation
completes, it may fail to submit, and the signs of this may be hard
to notice (state transition timing, presence of keypress indicator,
and (if enabled) attempt count).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This averts the risk that one can queue up many password submissions
by pressing enter repeatedly (or with key repeat, holding enter),
much more quickly than PAM will process them. It may also improve
usability by reducing unrevealed system state: now that at most one
password can be queued, the "Verifying" message is always shown when
a password is being validated.

However, this commit does introduce a minor UI issue: if one types
an invalid second password just slightly faster than PAM validation
completes, it may fail to submit, and the signs of this may be hard
to notice (state transition timing, presence of keypress indicator,
and (if enabled) attempt count).
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "comm: improve robustness"</title>
<updated>2025-03-15T00:12:50+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2025-03-15T00:12:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=e0ca5adecd0b0f89f20322c9b410b460e8f73c5b'/>
<id>e0ca5adecd0b0f89f20322c9b410b460e8f73c5b</id>
<content type='text'>
This reverts commit 285d0292914bf6361a1a32ce1561a6d3fb6ebeca.

This got accidentally pushed to master.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 285d0292914bf6361a1a32ce1561a6d3fb6ebeca.

This got accidentally pushed to master.
</pre>
</div>
</content>
</entry>
</feed>
