Age | Commit message (Collapse) | Author |
|
TCOIN_PASS_RESET_CONTACT_EMAIL to tilde.guru and tilde.institute's ntcoin initialisation scripts
|
|
I have just maken `which nano` to be \$EDITOR
|
|
I've tried to add try-catch blocks in those cases where fork()s fail.
It doesn't quite work well though.
|
|
This will allow pcoin accounts to be transferred from one person to another
|
|
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.
|
|
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.
|
|
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.
|
|
This was done so that the date generation changes for OpenBSD and tilde.institute-type systems will apply.
|
|
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.
|
|
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'.
|
|
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.
|