diff options
author | login <login@tilde.team> | 2021-11-20 11:24:07 +0000 |
---|---|---|
committer | login <login@tilde.team> | 2021-11-20 11:24:07 +0000 |
commit | 337ce90729d3a8d99af5abb02143ab9c67ff74bb (patch) | |
tree | 3cd99f7ca3d81050bb680266f04248f7c2a0836a /ntcoin_openbsd_tildeinstitute | |
parent | b9dbe4b703bfbac90b316577220850b6bb7d3400 (diff) | |
download | tcoin-337ce90729d3a8d99af5abb02143ab9c67ff74bb.tar.gz |
New pcoin function to change pcoin keys
This will allow pcoin accounts to be transferred from one person to another
Diffstat (limited to 'ntcoin_openbsd_tildeinstitute')
-rwxr-xr-x | ntcoin_openbsd_tildeinstitute | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ntcoin_openbsd_tildeinstitute b/ntcoin_openbsd_tildeinstitute index b0f51cb..24dd89b 100755 --- a/ntcoin_openbsd_tildeinstitute +++ b/ntcoin_openbsd_tildeinstitute @@ -18,6 +18,7 @@ then #define TCOIN_PROG_ACT_PATH "'`/usr/local/bin/grealpath -s $1`'/tcoin/program_accounting/" #define PROG_ACT_W_SLASH "program_accounting/" #define LS_PATH "/bin/ls" +#define PCOIN_NEW_KEY_CMD "/bin/cat /dev/urandom | /usr/local/bin/gbase64 | /usr/local/bin/ghead -c 64 | /usr/bin/tr '+' '-' | /usr/bin/tr '/' '_'" #define PIPED_WORD_COUNT_CMD " | /usr/bin/wc -c" #define PCOIN_KEY_PATH "'`/usr/local/bin/grealpath -s $1`'/tcoin/secrets/pcoin_keys" #define PCOIN_KEY_PATH_W_SLASH "'`/usr/local/bin/grealpath -s $1`'/tcoin/secrets/pcoin_keys/" @@ -201,6 +202,7 @@ else #define TCOIN_PROG_ACT_PATH "'`/usr/local/bin/grealpath -s $1`'/tcoin/program_accounting/" #define PROG_ACT_W_SLASH "program_accounting/" #define LS_PATH "/bin/ls" +#define PCOIN_NEW_KEY_CMD "/bin/cat /dev/urandom | /usr/local/bin/gbase64 | /usr/local/bin/ghead -c 64 | /usr/bin/tr '+' '-' | /usr/bin/tr '/' '_'" #define PIPED_WORD_COUNT_CMD " | /usr/bin/wc -c" #define PCOIN_KEY_PATH "'`/usr/local/bin/grealpath -s $1`'/tcoin/secrets/pcoin_keys" #define PCOIN_KEY_PATH_W_SLASH "'`/usr/local/bin/grealpath -s $1`'/tcoin/secrets/pcoin_keys/" |