croc: V10 can't secure channel error

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:

  1. Install v10 on both machines
  2. Send a file either way croc send Z.tar.gz
  3. Prompt to generate export secret export CROC_SECRET="xxx"
  4. On the other computer run croc xxx
  5. Run croc xxx on reciever machine
  6. securing 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.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 15 (7 by maintainers)

Most upvoted comments

This mean that we can’t use the “old process” with automated generated code ?