Unable to run cryptcheck

What is the problem you are having with rclone?

Running cryptcheck returns error computing hash: failed to open object to read nonce: AccessDenied: Access Denied. status code: 403

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.2
- os/version: Microsoft Windows 10 Pro 21H2 (64 bit)
- os/kernel: 10.0.19044.2006 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Scaleway

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone --verbose --fast-list cryptcheck /source/files EncryptedScaleway: --one-way

The rclone config contents with secrets removed.

[Scaleway]
type = s3
provider = Scaleway
access_key_id = *redacted*
secret_access_key = *redacted*
region = fr-par
endpoint = s3.fr-par.scw.cloud
storage_class = GLACIER
chunk_size = 100Mi
max_upload_parts = 1000

[EncryptScaleway]
type = crypt
remote = Scaleway:*redacted*
password = *redacted*
password2 = *redacted*

A log from the command with the -vv flag

2022/09/19 12:18:43 DEBUG : rclone: Version "v1.59.2" starting with parameters ["*redacted*]
2022/09/19 12:18:43 DEBUG : Creating backend with remote "*redacted*
2022/09/19 12:18:43 DEBUG : Using config file from "*redacted*
2022/09/19 12:18:43 DEBUG : fs cache: renaming cache item "*redacted* to be canonical "*redacted*
2022/09/19 12:18:43 DEBUG : Creating backend with remote "EncryptScaleway:"
2022/09/19 12:18:43 DEBUG : Creating backend with remote "Scaleway:"*redacted*"
2022/09/19 12:18:43 INFO  : Using md5 for hash comparisons
2022/09/19 12:18:43 DEBUG : Encrypted drive 'EncryptScaleway:': Waiting for checks to finish
2022/09/19 12:18:44 DEBUG :"*redacted* Excluded
2022/09/19 12:18:44 DEBUG : "*redacted* Excluded
2022/09/19 12:18:44 ERROR : "*redacted*: error computing hash: failed to open object to read nonce: AccessDenied: Access Denied.
	status code: 403

P.S. I am using Scaleway's Glacier. I wonder if that is causing the problem?

Can you read object from Glacier without restoring them? cryptcheck needs to read the first 32 bytes of the file to read the encryption nonce which is probably causing the problem.

Ah, that is most definitely the problem. You cannot read files on Scaleway's Glacier without moving the files to their standard storage.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.