You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, since updating to v9.6.17, I get an error when invoking croc as the receiver telling me to export a secret phrase. Which I find strange for two reasons: one, because I wasn't sending data via this client, and two because croc has long generated its own passcodes so I don't understand why it's suddenly telling me going against that is now a requirement.
To Reproduce
Steps to reproduce the behavior:
Start/Prepare a croc transfer on another device (in my case, SteamOS via Steam Deck)
Run the croc receive password (croc wxyz-something-something-something)
Receive this error that's unrelated to receiving:
To use croc you need to set a code phrase using your environmental variables:
export CROC_SECRET="yourcodephrasetouse"
Expected behaviour
Croc's old behavior: that it doesn't force me to set a secret phrase when receiving data.
Version
Receiver Croc Version: 9.6.17 (OS: Gentoo LLVM)
Sender Croc Version: v9.6.14 (OS: SteamOS)
(Haven't updated the sender in a while since installing croc via the script on the Steam Deck fails and requires manual intervention, so I only tend to update it periodically on SteamOS)
Additional context
It gets even more strange when you try to comply with its request; example: env CROC_SECRET="(sender's passcode)" croc (sender's passcode)
returns: securing channel...2024/05/23 12:07:32 room (secure channel) not ready, maybe peer disconnected
The text was updated successfully, but these errors were encountered:
I don't understand why this behavior is broken because of the CVE.
From what I understand, the CVE is specifically about putting the secret code in the command line, which applies when you either want to:
Use a custom code when sending files, or
Receive files using a code
The use case that this issue is about is sending files without specifying the code. In this case, the code would just be printed to standard output, so there shouldn't be any issues with the code being visible in the command flags.
Describe the bug
For some reason, since updating to
v9.6.17
, I get an error when invoking croc as the receiver telling me to export a secret phrase. Which I find strange for two reasons: one, because I wasn't sending data via this client, and two because croc has long generated its own passcodes so I don't understand why it's suddenly telling me going against that is now a requirement.To Reproduce
Steps to reproduce the behavior:
croc
transfer on another device (in my case, SteamOS via Steam Deck)croc wxyz-something-something-something
)Expected behaviour
Croc's old behavior: that it doesn't force me to set a secret phrase when receiving data.
Version
Receiver Croc Version: 9.6.17 (OS: Gentoo LLVM)
Sender Croc Version: v9.6.14 (OS: SteamOS)
(Haven't updated the sender in a while since installing
croc
via the script on the Steam Deck fails and requires manual intervention, so I only tend to update it periodically on SteamOS)Additional context
It gets even more strange when you try to comply with its request; example:
env CROC_SECRET="(sender's passcode)" croc (sender's passcode)
returns:
securing channel...2024/05/23 12:07:32 room (secure channel) not ready, maybe peer disconnected
The text was updated successfully, but these errors were encountered: