<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tcoin/utils, branch master</title>
<subtitle>Currency simulator on tilde.town and other tildeboxes on tildeverse.org
</subtitle>
<id>https://git.tilde.institute/login/tcoin/atom?h=master</id>
<link rel='self' href='https://git.tilde.institute/login/tcoin/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/login/tcoin/'/>
<updated>2021-10-17T16:25:53Z</updated>
<entry>
<title>pcoin_keys fixed</title>
<updated>2021-10-17T16:25:53Z</updated>
<author>
<name>login</name>
<email>login@tilde.team</email>
</author>
<published>2021-10-17T16:25:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/login/tcoin/commit/?id=b0de38eafe7fe897f907066dc1ef923073690d5d'/>
<id>urn:sha1:b0de38eafe7fe897f907066dc1ef923073690d5d</id>
<content type='text'>
Thanks to ~jmjl, I was able to find that pcoin_keys didn't work. To fix it, tcoin uses sneaky magic but with stdin isntead of an argument, and a new library imported called popen2, that lets me send both stdin and receive stdout, to successfully get "ls &lt;path to the pcoin_keys directory&gt;" to work (it execl's another instance of the tcoin comand so that it runs under setuid instead of as the original user who ran it.
</content>
</entry>
</feed>
