<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.bin/openssl/passwd.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-03-06T14:32:06+00:00</updated>
<entry>
<title>Rename struct ${app}_config to plain cfg</title>
<updated>2023-03-06T14:32:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-06T14:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2ba7dcfcbc2ef5aaeb8eb14f36f83bd57c22bcae'/>
<id>urn:sha1:2ba7dcfcbc2ef5aaeb8eb14f36f83bd57c22bcae</id>
<content type='text'>
All the structs are static and we need to reach into them many times.
Having a shorter name is more concise and results in less visual clutter.
It also avoids many overlong lines and we will be able to get rid of some
unfortunate line wrapping down the road.

Discussed with jsing
</content>
</entry>
<entry>
<title>Remove the legacy interactive mode from openssl(1).</title>
<updated>2022-11-11T17:07:39+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2022-11-11T17:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=273d9e16fc9e481283c2b2302b348e4863e29f28'/>
<id>urn:sha1:273d9e16fc9e481283c2b2302b348e4863e29f28</id>
<content type='text'>
This removes the legacy interactive mode from openssl(1) since it is
rarely used, complicates the code, and has also been removed from
OpenSSL in version 3.x.x.

ok tb@ jsing@
</content>
</entry>
<entry>
<title>Convert passwd.c to opaque EVP_MD_CTX and add a bit of error checking.</title>
<updated>2021-12-12T20:40:25+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-12-12T20:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4fb9cef3da54059cc0c532eeeb8cae24ff8745c6'/>
<id>urn:sha1:4fb9cef3da54059cc0c532eeeb8cae24ff8745c6</id>
<content type='text'>
tweak/ok inoguchi
</content>
</entry>
<entry>
<title>We know how to print a size_t now. Drop a comment and a cast.</title>
<updated>2021-11-25T16:53:58+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-11-25T16:53:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d8c1a7837c9fecfb84b1f4ed96a36dc642e33977'/>
<id>urn:sha1:d8c1a7837c9fecfb84b1f4ed96a36dc642e33977</id>
<content type='text'>
ok bluhm inoguchi
</content>
</entry>
<entry>
<title>Mark the initialized struct options arrays as both static and const.</title>
<updated>2019-07-14T03:30:46+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2019-07-14T03:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ce9daaa0080f6ec467441aa485eb3f11ad6fb74a'/>
<id>urn:sha1:ce9daaa0080f6ec467441aa485eb3f11ad6fb74a</id>
<content type='text'>
This moves them from .data to .data.rel.ro

ok deraadt@ inoguchi@
</content>
</entry>
<entry>
<title>Indent labels with a single space so that diff prototypes are more useful.</title>
<updated>2018-02-07T05:47:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-07T05:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6d829832b5c1cafa0527a7c2595749b17b0b8efe'/>
<id>urn:sha1:6d829832b5c1cafa0527a7c2595749b17b0b8efe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rearrange pledge promises into the canonical order; easier to eyeball</title>
<updated>2017-01-20T08:57:12+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2017-01-20T08:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ff6fa3ffece7ca61b2a5e2a66b4920c710d4e36b'/>
<id>urn:sha1:ff6fa3ffece7ca61b2a5e2a66b4920c710d4e36b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Exit if a pledge call fails in non-interactive mode.</title>
<updated>2015-10-17T15:00:11+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-10-17T15:00:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=db101f70294bca3ebe9eaa1f16aaae8cd872d2e4'/>
<id>urn:sha1:db101f70294bca3ebe9eaa1f16aaae8cd872d2e4</id>
<content type='text'>
ok semarie@
</content>
</entry>
<entry>
<title>add "tty" for several subcommands of openssl</title>
<updated>2015-10-17T07:51:10+00:00</updated>
<author>
<name>semarie</name>
<email></email>
</author>
<published>2015-10-17T07:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c93eb1877de5865e80d306506ac0af05c8ac5bde'/>
<id>urn:sha1:c93eb1877de5865e80d306506ac0af05c8ac5bde</id>
<content type='text'>
it is needed in order to let libssl UI_* function plays with echo on/off when
asking for password on terminal.

passwd subcommand needs additionnal "wpath cpath" in order to let it calls
fopen("/dev/tty", "w") (O_WRONLY with O_CREAT | O_TRUNC).

problem reported by several
with and ok doug@
</content>
</entry>
<entry>
<title>Initial support for pledges in openssl(1) commands.</title>
<updated>2015-10-10T22:28:51+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-10-10T22:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=503cf2bd70538bb9cc734a5fd58230b90be4d1d8'/>
<id>urn:sha1:503cf2bd70538bb9cc734a5fd58230b90be4d1d8</id>
<content type='text'>
openssl(1) has two mechanisms for operating: either a single execution
of one command (looking at argv[0] or argv[1]) or as an interactive
session than may execute any number of commands.

We already have a top level pledge that should cover all commands
and that's what interactive mode must continue using.  However, we can
tighten up the pledges when only executing one command.

This is an initial stab at support and may contain regressions.  Most
commands only need "stdio rpath wpath cpath".  The pledges could be
further restricted by evaluating the situation after parsing options.

deraadt@ and beck@ are roughly fine with this approach.
</content>
</entry>
</feed>
