Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweetnacl-tools #2

Open
jv813yh opened this issue Oct 29, 2020 · 3 comments
Open

tweetnacl-tools #2

jv813yh opened this issue Oct 29, 2020 · 3 comments

Comments

@jv813yh
Copy link

jv813yh commented Oct 29, 2020

I want to ask if you can help me with this problem. I downloaded your tweetnacl-tools program and wanted to test it on windows 10 / Ubuntu 20.04 LTS. But on windows, if I enter a display such as tweetnacl-keypair alice.pub alice.sec, nothing is done. And when I tried the same display on Ubuntu it showed me that the display was not found. Can you advise me where I make a mistake?

@sbp
Copy link
Owner

sbp commented Oct 29, 2020

You have to compile the programs first, as noted in the README file:

Type make to compile the tools using gcc. The scripts go in bin/.

And then to run them in a standard Linux shell like bash you either have to do e.g. bin/tweetnacl-keypair [...] in the tweetnacl-tools directory that you cloned or downloaded, or change directory into bin/ and then run ./tweetnacl-keypair [...].

In other words you have to give the full path to the executable, which is the name for the file which is the output of the compilation process. If you want to type just tweetnacl-keypair the program's executable would have to be on what's called your shell path. The aforelinked article gives some tips on how to accomplish that.

Many distributions of software come with a program that installs the executables onto the shell path for the user automatically, but tweetnacl-tools assumes, perhaps incorrectly, some level of technical knowledge due to its situation as a niche cryptographic suite of tools.

@jv813yh
Copy link
Author

jv813yh commented Oct 30, 2020 via email

@jv813yh
Copy link
Author

jv813yh commented Nov 5, 2020

I would like to ask if this program is also functional on the Windows 10 operating system. Or if you do not have a project that uses the TweetNacl library on the Windows operating system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants