about summary refs log tree commit diff stats
path: root/ntcoin_openbsd_tildeinstitute
Commit message (Collapse)AuthorAgeFilesLines
* New pcoin function to change pcoin keyslogin2021-11-201-0/+2
| | | | This will allow pcoin accounts to be transferred from one person to another
* Fixes to permissions set by ntcoinlogin (tilde.temm)2021-10-181-2/+2
| | | | ntcoin creates a new tcoin directory structure, and copies relevant files. Some permissions were set wrongly by ntcoin and its variants. Those have been fixed now.
* pcoin_keys fixedlogin2021-10-171-5/+29
| | | | 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 <path to the pcoin_keys directory>" 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.
* Update the way pcoin_keys works to use a folder/directory instead of a ↵login2021-06-301-6/+9
| | | | | | | | | | single file This is preparing tcoin/pcoin for the automatic registration of program accounts. Eventually, I want program accounts to be tradeable by there being a way to regenerate a new key. So, send the current key to whomever you want the program account to be used by, then the new owner regenerates the key to complete the transfer. The old owner will no longer be able to use the old key to operate the new account. The key is long and the key generation random enough for key collisions to be virtually impossible.
* Updated ntcoin for OpenBSD systems to have #define TILDEINSTITUTElogin (tilde.institute)2020-09-221-3/+6
| | | | This was done so that the date generation changes for OpenBSD and tilde.institute-type systems will apply.
* Custom host name possible in tcoin --help nowlogin (tilde.club)2020-07-241-4/+11
| | | | | | | 1. Custom host name now possible in tcoin --help 2. Changes to ntcoin and ntcoin_openbsd_tildeinstitute to fix a bug in -d/--def. 3. Changes to ntcoin and ntcoin_openbsd_tildeinstitute to check for the correct number of arguments. 4. Changes to ntcoin and ntcoin_openbsd_tildeinstitute to include the host name as a preprocessor constant.
* Fixed bug in ntcoin_openbsd_tildeinstitutelogin (tilde.institute)2020-07-121-1/+1
| | | | Thanks to gbmor, I was able to replace base64 (fourmilab version) (which outputs \r\n and thus interferes with tr -d '\n') with gbase64 (the GNU coreutils version) which only outputs '\n'.
* Added ntcoin_openbsd_tildeinstitutelogin (tilde.institute)2020-07-111-0/+227
I have created a version of ntcoin that works on tilde.institute's OpenBSD system. I suppose I have to make ntcoin better by using something like make and more POSIX-compliant.