Closed Toki1975 closed 5 years ago
Hello. This is cscrypto manual. https://github.com/CREDITSCOM/node/wiki/Deterministic-key-generation-cscrypto Sorry to keep you waiting
Hi Dimitry,
No worries. I know Team have a lot to do. I have read your documentation but there is still one question. What contain the file /home/user/test.*** ?
From your documentation: To use password for encryption/decryption press "p", to use file press "f": f Enter path to file (will be used as cipher key):home/user/test.***
For the rest it is clearly explained and will help a lot.
Regards.
Hello DmitriyYashenko thank you for sharing the documentation, it is appreciable.
it seems to me that my procedure is correct, it generates an error code that I tested with several types of files
functionality has been fixed https://github.com/CREDITSCOM/node/commit/b6b9ddd22025d3d92ffd85711478c1700e81a17d, please git pull
and rebuild the client
Hi Dimitry, Client has been rebuilt. What should we write in the file (for example) : test.txt Enter path to file (will be used as cipher key):home/user/test.***
Best regards.
anything, it can be at least a video file, at least music, whatever you want
Hi Dimitri, I have tested and it works. When you start your node for the first time you choose option "f" and you give the path to whatever file you have ( it can be even a txt file with a few character or any other file you want).
Each time you will start the node you have to pint to the previous file selected the first time. also command " ./client --dumpkeys my Node1.json" allow you to recover you private key.
I think i will not use to use this way of encryption because there is no password protection to run the node but more to create the json file to recover the private key. You are going to tell me that a person with bad intention should know where the file you use to run the node is located and i will agree but i prefer to enter a strong password to run my node and mostly to recover my private key with the dumpkey command. Thanks a lot for your help and explanations.
Best regards.
anything, it can be at least a video file, at least music, whatever you want
F system is very ingenious
You cannot change the password or encryption file until you enter the password or specify the path to the file. Only after entering and restoring the keys will you be asked to dare to encrypt. The command ./client --dumpkeys my Node1.json
also trusts the password or the encryption file that you can store, say, on a flash drive or remote storage. Thus, an attacker needs to know your password or have an encryption file to access your keys. A little later, I will try today, we will publish a detailed description of file encryption.
Detailed description of the file encryption algorithm at the end of the document https://github.com/CREDITSCOM/node/wiki/Deterministic-key-generation-cscrypto
When we start a node (Linux or windows, we have the possibility to encrypt the key. ( Option 1 recommended)
I have 2 questions related to the encryption ( see print screen below)
A word of explanations is really needed to allow us to update the vps/linux/installation guide.
Best regards,
Toki1975