<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swaylock/.git/meson.build, branch 1.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>Add datadir</title>
<updated>2019-01-15T00:48:31+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2019-01-15T00:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=fcf1bd4ebea97ae6ecd30e4f4e0c526b405b871a'/>
<id>fcf1bd4ebea97ae6ecd30e4f4e0c526b405b871a</id>
<content type='text'>
And actually tested it as if I weren't a dumbass
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And actually tested it as if I weren't a dumbass
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove enable-tray properly</title>
<updated>2019-01-15T00:44:09+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2019-01-15T00:44:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=1409f16aa62e4f9706972580916dd5dfc67c7dcc'/>
<id>1409f16aa62e4f9706972580916dd5dfc67c7dcc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add completions</title>
<updated>2019-01-15T00:38:03+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2019-01-15T00:38:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=eba966c92b148fe5e33d7aebfb1fb60f3ac040cd'/>
<id>eba966c92b148fe5e33d7aebfb1fb60f3ac040cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add README.md, compile man pages</title>
<updated>2019-01-14T02:24:33+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2019-01-14T02:24:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=4f44a3b2bd3d09b0875589422293aeb0651343dd'/>
<id>4f44a3b2bd3d09b0875589422293aeb0651343dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert swaylock into standalone project</title>
<updated>2019-01-14T02:16:47+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2019-01-14T02:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=b90637e2a6e854d586b977ed9b80b806edeb12dd'/>
<id>b90637e2a6e854d586b977ed9b80b806edeb12dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix swaylock w/shadow on glibc, improve security</title>
<updated>2018-10-06T16:20:12+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2018-10-06T16:17:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=c7776e780425abb830c6b37c25cbd58ecc685680'/>
<id>c7776e780425abb830c6b37c25cbd58ecc685680</id>
<content type='text'>
Today I learned that GNU flaunts the POSIX standard in yet another
creative way. Additionally, this adds some security improvements,
namely:

- Zeroing out password buffers in the privileged child process
- setuid/setgid after reading /etc/shadow
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Today I learned that GNU flaunts the POSIX standard in yet another
creative way. Additionally, this adds some security improvements,
namely:

- Zeroing out password buffers in the privileged child process
- setuid/setgid after reading /etc/shadow
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for installing binaries with DT_RPATH</title>
<updated>2018-09-30T12:37:01+00:00</updated>
<author>
<name>Arkadiusz Hiler</name>
<email>arek@hiler.eu</email>
</author>
<published>2018-09-30T12:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=e184e5987f7630e3783a60bfc11093ee54d1fa0c'/>
<id>e184e5987f7630e3783a60bfc11093ee54d1fa0c</id>
<content type='text'>
It's better to use DT_RPATH dynamic section of the elf binary to store
the paths of libraries to load instead of overwriting LD_LIBRARY_PATH
for the whole environment, causing surprises. This solution is much more
transparent and perfectly suitable for running contained installations
of wayland/wlroots/sway.

The code unsetting the LD_LIBRARY_PATH/LD_PRELOAD was also deleted as
it's a placebo security at best - we should trust the execution path
that leads us to running sway, and it's way too late to care about those
variables since we already started executing our compositor, thus we
would be compromised anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's better to use DT_RPATH dynamic section of the elf binary to store
the paths of libraries to load instead of overwriting LD_LIBRARY_PATH
for the whole environment, causing surprises. This solution is much more
transparent and perfectly suitable for running contained installations
of wayland/wlroots/sway.

The code unsetting the LD_LIBRARY_PATH/LD_PRELOAD was also deleted as
it's a placebo security at best - we should trust the execution path
that leads us to running sway, and it's way too late to care about those
variables since we already started executing our compositor, thus we
would be compromised anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for building swaylock without PAM</title>
<updated>2018-09-28T11:53:01+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2018-09-28T10:18:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=64259db8d6049e19ea8a5fee7f7baeeeacdde517'/>
<id>64259db8d6049e19ea8a5fee7f7baeeeacdde517</id>
<content type='text'>
This involves setuid'ing swaylock, which then forks and drops perms on
the parent process. The child process remains root and listens on a pipe
for requests to validate passwords against /etc/shadow.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This involves setuid'ing swaylock, which then forks and drops perms on
the parent process. The child process remains root and listens on a pipe
for requests to validate passwords against /etc/shadow.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add FreeBSD-specific PAM configuration</title>
<updated>2018-08-30T07:58:57+00:00</updated>
<author>
<name>sghctoma</name>
<email>sghctoma@gmail.com</email>
</author>
<published>2018-08-30T07:58:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=2376a9c5d788daa9894c7396bb2a6c41dfb5df26'/>
<id>2376a9c5d788daa9894c7396bb2a6c41dfb5df26</id>
<content type='text'>
The "login" PAM configuration means somathing entirely different on
FreeBSD than on Linux: if you try to authenticate as the calling user,
it OKs the request without prompting for password. The "passwd" config
implements the desired functionality, therefore it should be used by
swaylock.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "login" PAM configuration means somathing entirely different on
FreeBSD than on Linux: if you try to authenticate as the calling user,
it OKs the request without prompting for password. The "passwd" config
implements the desired functionality, therefore it should be used by
swaylock.
</pre>
</div>
</content>
</entry>
<entry>
<title>[swaylock] Install pam module</title>
<updated>2018-04-20T00:29:47+00:00</updated>
<author>
<name>Bruno Pinto</name>
<email>brunoferreirapinto@gmail.com</email>
</author>
<published>2018-04-20T00:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.prezmop.xyz/swaylock/.git/commit/?id=780b15be32ae464235f61e55a95c694979b14f49'/>
<id>780b15be32ae464235f61e55a95c694979b14f49</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
