Hi, I'm struggling to use rclone with ProtonDrive, as I always get a no keyring is generated error.
I’ve searched Google, Reddit, and here but haven’t found a solution to this issue.
Here’s my configuration:
$ rclone config redacted
[proton]
type = protondrive
username = XXX
password = XXX
2fa = 559022
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
### Double-check the config for sensitive info before posting publicly
Since all client_* variables are set, I assume this isn’t a credential issue.
Here’s the output of a basic command:
$ rclone lsd proton: -vv
2024/09/06 03:35:42 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "lsd" "proton:" "-vv"]
2024/09/06 03:35:42 DEBUG : Creating backend with remote "proton:"
2024/09/06 03:35:42 DEBUG : Using config file from "/home/xxx/.config/rclone/rclone.conf"
2024/09/06 03:35:42 DEBUG : proton drive root link ID '': Has cached credentials
2024/09/06 03:35:45 DEBUG : proton drive root link ID '': Used cached credentials to initialize the ProtonDrive API
2024/09/06 03:35:46 ERROR : : error listing: internal error for signature verification - no keyring is generated
2024/09/06 03:35:46 DEBUG : 5 go routines active
2024/09/06 03:35:46 Failed to lsd with 2 errors: last error was: internal error for signature verification - no keyring is generated
Thanks, i've tried your suggestions but got same results
With --protondrive-enable-caching=false
$ rclone lsd proton: -vv --protondrive-enable-caching=false
2024/09/06 14:35:01 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "lsd" "proton:" "-vv" "--protondrive-enable-caching=false"]
2024/09/06 14:35:01 DEBUG : Creating backend with remote "proton:"
2024/09/06 14:35:01 DEBUG : Using config file from "/home/xxx/.config/rclone/rclone.conf"
2024/09/06 14:35:01 DEBUG : proton: detected overridden config - adding "{FfUSA}" suffix to name
2024/09/06 14:35:01 DEBUG : proton drive root link ID '': Has cached credentials
2024/09/06 14:35:05 DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
2024/09/06 14:35:05 DEBUG : fs cache: renaming cache item "proton:" to be canonical "proton{FfUSA}:"
2024/09/06 14:35:07 ERROR : : error listing: internal error for signature verification - no keyring is generated
2024/09/06 14:35:07 DEBUG : 5 go routines active
2024/09/06 14:35:07 Failed to lsd with 2 errors: last error was: internal error for signature verification - no keyring is generated
With a fresh config
$ rclone lsd proton2: -vv
2024/09/06 14:39:39 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "lsd" "proton2:" "-vv"]
2024/09/06 14:39:39 DEBUG : Creating backend with remote "proton2:"
2024/09/06 14:39:39 DEBUG : Using config file from "/home/xxx/.config/rclone/rclone.conf"
2024/09/06 14:39:39 DEBUG : proton drive root link ID '': Using username and password to log in
2024/09/06 14:39:47 DEBUG : proton drive root link ID '': Used username and password to initialize the ProtonDrive API
2024/09/06 14:39:47 DEBUG : Saving config "client_uid" in section "proton2" of the config file
2024/09/06 14:39:47 DEBUG : Saving config "client_access_token" in section "proton2" of the config file
2024/09/06 14:39:47 DEBUG : Saving config "client_refresh_token" in section "proton2" of the config file
2024/09/06 14:39:47 DEBUG : Saving config "client_salted_key_pass" in section "proton2" of the config file
2024/09/06 14:39:48 ERROR : : error listing: internal error for signature verification - no keyring is generated
2024/09/06 14:39:48 DEBUG : 5 go routines active
2024/09/06 14:39:48 Failed to lsd with 2 errors: last error was: internal error for signature verification - no keyring is generated