DroidFS icon indicating copy to clipboard operation
DroidFS copied to clipboard

[Feature request] the files encrypted by DroidFS on Android support to be decrypted on windows by desktop client like cppcryptfs.

Open testhuohuyx opened this issue 5 months ago • 4 comments

[Feature request] the files encrypted by DroidFS on Android support to be decrypted on windows by desktop client like cppcryptfs.

testhuohuyx avatar Jul 14 '25 01:07 testhuohuyx

It shouldn't be a feature request but a bug either in DroidFS or cppcryptfs. What's the error you get when trying to open a volume from DroidFS with cppcryptfs?

hardcore-sushi avatar Jul 24 '25 18:07 hardcore-sushi

It shouldn't be a feature request but a bug either in DroidFS or cppcryptfs. What's the error you get when trying to open a volume from DroidFS with cppcryptfs?

Image

unkown feature flag in config file: XChaCha20Poly1305

testhuohuyx avatar Jul 25 '25 01:07 testhuohuyx

It seems that cppcryptfs doesn't support gocryptfs volumes encrypted with the XChaCha20-Poly1305 cipher. That's not a bug in DroidFS. You can open a feature request on the cppcryptfs repo.

As a workaround, switch the "Encryption cipher" from "Auto" to "AES-GCM" when creating a gocryptfs volume with DroidFS. cppcryptfs should then be able to open the volume.

hardcore-sushi avatar Jul 25 '25 16:07 hardcore-sushi

It seems that cppcryptfs doesn't support gocryptfs volumes encrypted with the XChaCha20-Poly1305 cipher. That's not a bug in DroidFS. You can open a feature request on the cppcryptfs repo.

As a workaround, switch the "Encryption cipher" from "Auto" to "AES-GCM" when creating a gocryptfs volume with DroidFS. cppcryptfs should then be able to open the volume.

It works, Thank you!

testhuohuyx avatar Jul 30 '25 01:07 testhuohuyx