-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
V10 can't secure channel error #705
Comments
export secret on both computers |
This mean that we can't use the "old process" with automated generated code ? |
Hey @schollz thanks for the prompt reply - I've tried exporting different and the same secrets on both machines and get the same error. |
@AndrewSkelton @meepmeep try 10.0.1 |
|
@AndrewSkelton I think you hit the server as binaries were being generated. try it again |
@schollz - too keen obviously Same error (10.1 on both machines) Debug trace seems fine up to the end
|
are you using environmental variable? |
If I have the same secret on both machines (not sure if that's the assumption?)
Both machines have environment variables set with |
and how are you invoking |
|
I can't replicate. try removing your croc config dirs on both computers: |
Thanks for checking @schollz. Clearing the config didn't help. I reverted the machines back to v9.6.14 (which I had left on another machine), and that worked, so not sure what the root cause is, but thanks all the same for checking. |
@AndrewSkelton try v10.0.2, I think I found the culprit and fixed it |
indeed, v10.0.2 fixed it, thank you !! |
Describe the bug
Repeated instances of "cannot secure channel", but sender and receiver are on latest (v10). Ubuntu <-> Mac
The ubuntu version requires an export of a variable, which is used as the pass code on send commands (assuming this is intended behaviour). Mac version of send generated a random pass phrase (typical past behaviour).
To Reproduce
Steps to reproduce the behavior:
croc send Z.tar.gz
export CROC_SECRET="xxx"
On the other computer run croc xxx
croc xxx
on reciever machinesecuring channel...2024/05/23 15:33:24 could not secure channel
Expected behaviour
Croc to generate a random pass phrase without need for the CROC_SECRET variable to be set. File to send without secure channel issues
Version
croc version v10.0.0
Additional context
Thanks for the great tool! First time I've had this issue, ran the latest tool for a long time without issues, this is the first problem.
The text was updated successfully, but these errors were encountered: