Files copied from remote are still encrypted

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Trying to retrieve an unencrypted copy of rclone-encrypted file on Google Drive

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

- os/version: linuxmint 22 (64 bit)
- os/kernel: 6.8.0-49-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.3
- go/linking: static
- go/tags: none```


<!-- **STOP and  READ**: 
Do not type in "Latest".
Do not just type in a version number. Run the command and share the full output.

Are you on the latest version of rclone? You can validate by checking the version listed here: https://rclone.org/downloads/
 -->
Yes
####  Which cloud storage system are you using? (eg Google Drive)
Google Drive


#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

rclone copy google_drive_Backup:Encrypted/Misc --include 'maxdesk*' ./



#### Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

[google_drive_Backup]
type = drive
scope = drive.file
root_folder_id = XXX
token = XXX

[google_drive_Julie_Backup_http]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
root_folder_id = XXX
token = XXX

[google_drive_encrypted_Backup]
type = crypt
remote = google_drive_Backup:Encrypted
filename_encryption = off
directory_name_encryption = false
password = XXX

Double check the config for sensitive info before posting publicly




#### A log from the command that you were trying to run with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

2024/12/22 11:38:54 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "-vv" "copy" "google_drive_Backup:Encrypted/Misc" "--include" "maxdesk*" "./"]
2024/12/22 11:38:54 DEBUG : Creating backend with remote "google_drive_Backup:Encrypted/Misc"
2024/12/22 11:38:54 DEBUG : Using config file from "/home/flymike/.config/rclone/rclone.conf"
2024/12/22 11:38:54 DEBUG : Creating backend with remote "./"
2024/12/22 11:38:54 DEBUG : fs cache: renaming cache item "./" to be canonical "/home/flymike/tmp"
2024/12/22 11:38:54 DEBUG : 2024-10-19 Fence Panels.pdf.bin: Excluded (Path Filter)
*** multiple files redacted ***
2024/12/22 11:38:54 DEBUG : maxdesk.ini.bin: Need to transfer - File not found at Destination
2024/12/22 11:38:54 DEBUG : Local file system at /home/flymike/tmp: Waiting for checks to finish
2024/12/22 11:38:54 DEBUG : Local file system at /home/flymike/tmp: Waiting for transfers to finish
2024/12/22 11:38:55 DEBUG : maxdesk.ini.bin: md5 = 9b5d45ff3857238ffb4284678ebcc657 OK
2024/12/22 11:38:55 DEBUG : maxdesk.ini.bin.6d205fe0.partial: renamed to: maxdesk.ini.bin
2024/12/22 11:38:55 INFO : maxdesk.ini.bin: Copied (new)
2024/12/22 11:38:55 INFO :
Transferred: 1.998 KiB / 1.998 KiB, 100%, 0 B/s, ETA -
Transferred: 1 / 1, 100%
Elapsed time: 1.3s

2024/12/22 11:38:55 DEBUG : 8 go routines active

NOTE:  rclone copy creates the dest/local file with the .bin suffix. Shouldn't this suffix have been removed? The src/remote file was created with rclone sync, and rclone appended the .bin suffix to the original name. And the files appears to have the magic RCLONE header. Here is the hexdump of the file:
```00000000  52 43 4c 4f 4e 45 00 00  2e 5c a2 2a a1 bd 2c bd  |RCLONE...\.*..,.|
00000010  68 b4 93 be d7 5d 54 81  ac 47 ac 9f f5 76 75 73  |h....]T..G...vus|
00000020  0e 23 a0 a1 bb 1b 17 8e  cb 95 4a 75 f6 f4 00 32  |.#........Ju...2|
00000030  f5 00 7b 6f b3 1b 21 ff  6f 8b 6f c5 a0 a6 ae a3  |..{o..!.o.o.....|
00000040  7d 68 b4 98 f2 ea 7f c9  1c bc b0 27 4a 50 af 29  |}h.........'JP.)|
00000050  be fc 35 c5 b2 4e 66 49  92 85 30 f8 52 35 f7 33  |..5..NfI..0.R5.3|
00000060  16 0b 1d c8 10 0b 12 f9  ce d4 8e 1c f5 56 30 63  |.............V0c|
00000070  0a 3c 0e c0 0e d2 99 1b  94 ce 61 1c 52 31 3e 30  |.<........a.R1>0|
00000080  ed 93 84 fc b6 7a ad 37  6f 1f 99 70 fc f4 e0 11  |.....z.7o..p....|
00000090  29 68 0d f7 9c b6 5d 81  db 85 be ea a4 f4 8d 60  |)h....]........`|
000000a0  ba 52 cc c1 1b 58 d6 33  ab 5a 58 1f e3 3f b6 6d  |.R...X.3.ZX..?.m|
000000b0  2c 17 ee 4c 43 80 c2 b0  cf 52 67 74 8d 07 ad 82  |,..LC....Rgt....|
000000c0  76 2c bd 98 5d 86 2f 1f  6d 20 d0 a4 e4 2a 63 ea  |v,..]./.m ...*c.|
000000d0  7f 48 27 b6 41 95 27 b9  bf bb d8 a1 9d 00 c3 01  |.H'.A.'.........|
000000e0  2f 9d 94 7b 35 e9 3c ac  78 b8 e0 ed 2f f2 97 07  |/..{5.<.x.../...|
000000f0  30 48 66 a1 44 23 c5 e5  70 14 15 61 c1 c7 42 56  |0Hf.D#..p..a..BV|
00000100  46 ec 5d 41 ef 6c a3 95  da d1 ce 3e bd d0 6f 52  |F.]A.l.....>..oR|
00000110  a1 3d 36 34 1b c3 34 b6  c6 24 a1 42 5b 31 85 da  |.=64..4..$.B[1..|
00000120  06 d6 54 24 34 18 ef 9f  37 dc e9 c7 53 11 aa 67  |..T$4...7...S..g|
00000130  c5 9d 4a fa 74 54 26 be  bc d3 98 5e 04 4d b7 8d  |..J.tT&....^.M..|
00000140  6e 9f 42 16 84 6d 6c 30  f3 0e 2e 91 8d 35 67 1b  |n.B..ml0.....5g.|
00000150  b5 5f 1c f2 55 82 01 03  b5 a2 77 54 67 73 57 35  |._..U.....wTgsW5|
00000160  89 41 c9 8a 5b 16 50 21  96 da 7c db cc 90 d0 93  |.A..[.P!..|.....|
00000170  7a 01 12 c7 c4 57 90 b9  5b 34 a9 3b 61 9b 69 12  |z....W..[4.;a.i.|
00000180  80 38 8d 8a 9c ad 0c e8  da 63 23 c0 ca 10 5d 64  |.8.......c#...]d|
00000190  85 df da 53 84 13 30 5b  78 5e 05 76 c9 fb 4a 66  |...S..0[x^.v..Jf|
000001a0  c4 1b 44 bd 75 38 66 f8  08 f6 7f 1d ac f9 af 55  |..D.u8f........U|
000001b0  99 10 4a 9c 89 16 e5 14  9b 71 59 08 f5 93 b5 9a  |..J......qY.....|
000001c0  35 2c 7c be f4 48 08 87  e7 c7 6f 55 e0 73 c9 52  |5,|..H....oU.s.R|
000001d0  27 0c a6 0b 8a 8e 3e e6  0e 43 9a 90 c3 07 a8 41  |'.....>..C.....A|
000001e0  93 b2 d6 aa a1 9f 88 f8  41 3f c8 f3 6f e1 b6 73  |........A?..o..s|
000001f0  da a3 03 da 87 31 1d 22  43 51 ef 40 11 6f 5c 9e  |.....1."CQ.@.o\.|
00000200  a4 3a 29 ba 07 55 42 f1  9c a2 8a 2e a7 e4 ca 34  |.:)..UB........4|
00000210  b0 c6 f6 b1 53 c0 3d a6  63 85 f4 66 50 db 79 d0  |....S.=.c..fP.y.|
00000220  c1 b9 64 c8 4d 69 5a f6  0f 17 1c 80 c1 56 5d 46  |..d.MiZ......V]F|
00000230  90 7d 2e 1b 7a 6d 55 c9  7e 82 14 55 b7 d0 90 57  |.}..zmU.~..U...W|
00000240  f2 89 24 cd 7b aa ec 1e  b7 e7 34 d2 10 a6 b4 e7  |..$.{.....4.....|
00000250  6f 28 be f2 76 3d b3 be  85 5e 93 83 c1 1a af 3d  |o(..v=...^.....=|
00000260  79 47 c5 fc 70 93 71 f2  aa 74 b3 97 28 90 72 1a  |yG..p.q..t..(.r.|
00000270  14 34 3c 86 c5 77 f5 a7  96 38 7e 8c 03 87 8c f4  |.4<..w...8~.....|
00000280  aa 51 e4 cf 6e 09 d8 8c  b0 37 5e 4c 45 e6 76 78  |.Q..n....7^LE.vx|
00000290  32 45 1c ff 64 39 f8 2b  2c d7 69 91 99 3f 03 2e  |2E..d9.+,.i..?..|
000002a0  07 21 ab fc 24 26 d5 23  31 88 a4 80 29 dc c3 0d  |.!..$&.#1...)...|
000002b0  16 bf b9 5d 69 e3 44 e5  9d 48 12 6f 22 f4 fa d1  |...]i.D..H.o"...|
000002c0  f0 5b f7 ed 63 4f ea 70  e2 19 96 97 a6 f2 0c a7  |.[..cO.p........|
000002d0  bc 89 59 d8 ab ec 3e 59  29 2c e6 d2 eb 1e bb 29  |..Y...>Y),.....)|
000002e0  eb 0e 33 01 4e 75 22 c1  8b 65 25 d5 a5 13 4d c4  |..3.Nu"..e%...M.|
000002f0  f9 16 81 49 32 cd 56 5c  ab a7 b9 0f 4c 8e 2a 7b  |...I2.V\....L.*{|
00000300  b8 ca 4b f1 50 55 b0 20  c9 f4 54 44 d0 8d 35 66  |..K.PU. ..TD..5f|
00000310  2f 1b 91 3e 30 f5 a5 45  04 34 8a c2 b1 18 22 f0  |/..>0..E.4....".|
00000320  45 81 b7 36 ed 61 bb d2  6c d9 7a c6 b1 f2 6f 61  |E..6.a..l.z...oa|
00000330  d0 e1 89 de 6a 1e 20 4c  5d 66 e3 51 2d fd 22 4d  |....j. L]f.Q-."M|
00000340  2a 8c 7b 75 51 0b 31 0c  aa 2d 04 8b 7e a8 a3 5f  |*.{uQ.1..-..~.._|
00000350  c0 76 2d 92 55 48 81 62  4a e3 e3 f7 b4 af 10 bf  |.v-.UH.bJ.......|
00000360  25 9d 56 bf 1e e3 e6 33  54 07 1d 1c 06 fd e1 ff  |%.V....3T.......|
00000370  b2 4a a0 2c e9 8a ec 25  a5 e1 91 a0 19 e4 2f 44  |.J.,...%....../D|
00000380  cd 2e 00 89 43 4a b0 db  4f 37 55 87 38 4d 3a bb  |....CJ..O7U.8M:.|
00000390  90 bf 66 08 5f 5c 83 09  d3 cb af f0 c6 50 b8 12  |..f._\.......P..|
000003a0  0c 78 73 1e df 45 28 29  6e 9e a3 39 90 9c 58 c8  |.xs..E()n..9..X.|
000003b0  30 57 13 43 23 07 4d 05  1b 3f 7d 0a ba 65 a1 68  |0W.C#.M..?}..e.h|
000003c0  66 7b eb bf 40 f0 77 d9  c8 bb b1 92 85 cd c4 c2  |f{..@.w.........|
000003d0  d9 1e 64 b8 28 13 94 40  30 1b 55 b1 2f 07 c1 a3  |..d.(..@0.U./...|
000003e0  fc ef 2c ce 91 15 a8 5b  d3 46 af 9c e5 12 bb 5e  |..,....[.F.....^|
000003f0  6f 1f e7 95 1a e0 8b fb  8d f2 af 0f 99 2d c8 22  |o............-."|
00000400  66 00 5d 27 5b 80 01 e4  19 40 be df b9 b2 8c e4  |f.]'[....@......|
00000410  b9 9a a8 9b 1c a1 20 33  20 75 e6 dc 15 b9 2e ad  |...... 3 u......|
00000420  6b 1c fb 08 de de ce 48  bf 02 22 7c c3 56 d1 8a  |k......H.."|.V..|
00000430  8c 08 2a da e5 7f b7 aa  3c f4 93 88 b6 a7 0c 59  |..*.....<......Y|
00000440  c0 b3 92 b9 2f 23 00 04  ee 64 f1 e3 9d 9e d0 b1  |..../#...d......|
00000450  e0 72 49 8b c5 2a ec f7  de 20 c5 ab dd 8e 53 34  |.rI..*... ....S4|
00000460  69 03 80 01 14 76 15 7a  52 02 ec da 74 e6 4e b8  |i....v.zR...t.N.|
00000470  73 91 5e 40 12 aa 5e 61  38 6c 84 43 d3 0c a9 fc  |s.^@..^a8l.C....|
00000480  eb 80 fd 4a a2 78 ee fc  3f 8b 96 1c d0 6b af c3  |...J.x..?....k..|
00000490  e9 06 0e f8 ec 67 a6 8e  05 42 44 31 8b 72 87 53  |.....g...BD1.r.S|
000004a0  41 9d c4 da d0 42 4f a4  91 1b 92 9e d5 ce 0f 41  |A....BO........A|
000004b0  54 0f 76 4d 93 c5 71 a1  cd 9c e4 78 c2 02 dd f4  |T.vM..q....x....|
000004c0  73 2a 88 31 04 67 50 2b  0e 51 d9 8d ce 15 7a 62  |s*.1.gP+.Q....zb|
000004d0  d7 e4 e2 d4 ab 25 55 42  fc d5 7b 28 65 a7 f5 07  |.....%UB..{(e...|
000004e0  2e 29 10 32 cc 6f 7e fc  c8 03 ad c3 cc 61 48 8b  |.).2.o~......aH.|
000004f0  8d da 60 56 11 a5 f4 00  c1 42 ec dd f9 aa cb 1d  |..`V.....B......|
00000500  43 a7 c8 8a 03 e8 35 e8  04 17 1f 73 55 82 df 24  |C.....5....sU..$|
00000510  d7 4e c3 14 fd 53 06 e2  2f 96 d3 9d b4 30 de b9  |.N...S../....0..|
00000520  ad f1 86 b6 45 75 7a b9  f5 1d 97 ab 6e 5d 58 7f  |....Euz.....n]X.|
00000530  d6 e5 07 91 c2 ff 7a dd  cb 69 ac df 45 d2 9c 63  |......z..i..E..c|
00000540  f5 d7 58 58 e3 e3 6d 3c  b6 17 d2 c9 22 e3 20 02  |..XX..m<....". .|
00000550  df 97 36 65 75 e3 ad e3  b0 46 ef e5 fb 9b 13 b8  |..6eu....F......|
00000560  59 f3 f2 e0 fa 0e 0e d8  5a 0c 2a a4 e2 3b 31 dd  |Y.......Z.*..;1.|
00000570  88 f9 e8 0f e0 75 8d 05  4e dc 1d f1 9c ac 6f c4  |.....u..N.....o.|
00000580  89 db fe 93 a2 e6 a6 0a  0f f1 b9 1c 72 d8 ff c7  |............r...|
00000590  de 53 e0 88 a0 fd 56 d5  d2 16 b2 5c e8 a6 fd a9  |.S....V....\....|
000005a0  8b 15 58 80 6f 34 92 d4  63 2c 1e 04 36 ba 83 3f  |..X.o4..c,..6..?|
000005b0  17 96 b5 4a ce ff 65 ff  b0 48 7a aa dd cf 75 1b  |...J..e..Hz...u.|
000005c0  7f 0e f0 d5 38 77 9b 39  c8 ab 07 4c e2 29 b1 46  |....8w.9...L.).F|
000005d0  b6 1d 3b 47 e8 32 f4 b3  79 64 d2 a4 66 db c9 8c  |..;G.2..yd..f...|
000005e0  a6 0f 55 64 14 1d 59 eb  61 45 1c f1 ba a9 f2 44  |..Ud..Y.aE.....D|
000005f0  e8 fb 3a 8c 5a f1 81 91  cf 3d 55 60 0c ff b2 30  |..:.Z....=U`...0|
00000600  34 48 c7 83 b9 0c 1c 3f  78 2c 38 5b aa e7 90 b3  |4H.....?x,8[....|
00000610  66 3b 74 31 f3 fa e8 0c  0e 94 22 ee 78 69 22 3a  |f;t1......".xi":|
00000620  28 15 4c 0f 53 25 bd b7  60 b8 b0 b3 6e 44 1a f8  |(.L.S%..`...nD..|
00000630  99 28 0d 49 41 3f ac 3d  8e 8f 6a ec ef ce b1 34  |.(.IA?.=..j....4|
00000640  32 cf 67 0b 31 66 c8 b7  e0 39 76 4b 57 68 c1 d4  |2.g.1f...9vKWh..|
00000650  15 b5 27 5d 8f e3 fd 00  91 14 29 12 8b 20 f6 9b  |..']......).. ..|
00000660  61 7b 7b d4 88 01 a4 43  04 16 04 2f 7a 19 b3 0a  |a{{....C.../z...|
00000670  bf 31 3f e6 67 35 44 0d  ca 4a 76 ce 3c 59 c2 45  |.1?.g5D..Jv.<Y.E|
00000680  a7 50 bb 0d 79 be 38 b0  9e 74 b6 42 1b 14 5e 8d  |.P..y.8..t.B..^.|
00000690  bc c3 e6 5a 95 4c 8a 0b  65 bc 88 40 2e 8e 7d fa  |...Z.L..e..@..}.|
000006a0  01 88 c8 70 53 12 d8 48  51 ec 8e cc d5 94 9f 0c  |...pS..HQ.......|
000006b0  58 8e a1 92 2c bb 8c a8  94 70 63 5a 68 44 cf 89  |X...,....pcZhD..|
000006c0  d9 05 e5 f4 d0 7d b5 20  d1 52 8c 18 19 c1 85 f7  |.....}. .R......|
000006d0  3d 40 b3 e2 8e e3 2e fe  13 73 98 49 8d 08 dd 73  |=@.......s.I...s|
000006e0  f9 ae 93 b3 30 fa ed 10  71 38 2d ac 01 86 45 99  |....0...q8-...E.|
000006f0  88 f0 d6 db 78 b4 e9 30  93 69 1b 00 e2 15 26 e8  |....x..0.i....&.|
00000700  2f 56 41 c3 0d fb 40 ae  5c 64 1a 3c f6 ca c3 82  |/VA...@.\d.<....|
00000710  bc 8c 00 b7 53 2a 50 ac  04 a6 c4 29 60 29 2d 16  |....S*P....)`)-.|
00000720  77 2c de 79 d7 a8 1c a1  bf 93 ff 53 95 0e 50 a7  |w,.y.......S..P.|
00000730  0c fb 6e 1e 35 99 d5 9f  45 79 c4 c7 35 2d 82 3c  |..n.5...Ey..5-.<|
00000740  9e a7 85 e9 8e b1 7b 5e  99 d4 ed 25 a3 85 cf db  |......{^...%....|
00000750  e9 a0 57 5d 9c f0 e3 5f  49 7e d5 42 4b 6d a5 2e  |..W]..._I~.BKm..|
00000760  6f eb 64 a4 28 2b be ff  3c c2 71 71 82 e1 15 1d  |o.d.(+..<.qq....|
00000770  96 7b 36 8a 5e 34 8a a3  59 41 85 c2 da fb b2 b0  |.{6.^4..YA......|
00000780  41 50 bc a4 bc a4 77 c0  fb 45 06 c9 ee 04 16 22  |AP....w..E....."|
00000790  0f ab 89 69 77 71 8c b4  30 30 70 24 7c 03 37 71  |...iwq..00p$|.7q|
000007a0  78 b2 86 28 02 2d 01 70  a2 70 94 2a aa fc 0e f3  |x..(.-.p.p.*....|
000007b0  51 f6 3b bf 5e 22 f5 3c  be dd 3e f9 c6 9d 34 b6  |Q.;.^".<..>...4.|
000007c0  12 8b d6 9f e5 d3 cd ec  bf 70 86 98 d3 b2 72 c8  |.........p....r.|
000007d0  58 81 6b cd ec 73 10 cd  02 6c 09 5e 93 ea 15 f1  |X.k..s...l.^....|
000007e0  1d 6d f2 84 d9 65 42 41  2f c4 f6 13 c0 3d 24 74  |.m...eBA/....=$t|
000007f0  5f 71 29 db 53 e3 24 c4  89 38 a5 5f 66 72        |_q).S.$..8._fr|
000007fe```

All works exactly how it should.

Instead of:

rclone copy google_drive_Backup:Encrypted/Misc .

you probably want:

rclone copy google_drive_encrypted_Backup:some/path .

google_drive_Backup:Encrypted is where encrypted files are.

To access unencrypted content you have to use crypt remote which is your case is google_drive_encrypted_Backup

Because you are using:

filename_encryption = off
directory_name_encryption = false

It is very easy to get confused what is what (encrypted or not).

Thanks for the correction, and the suggestion.