CIRCL / Circlean

USB key cleaner
https://www.circl.lu/projects/CIRCLean/
BSD 3-Clause "New" or "Revised" License
444 stars 69 forks source link

Prebuild Image Not Working #42

Closed LarrySuto1 closed 7 years ago

LarrySuto1 commented 8 years ago

I have tried the prebuild image on the Raspberry PI 1 and 2....I am not getting any pdfs converted. They are just deleted. Also .doc files are deleted and .docx files are sometime converted to garbage or are just labeled dangerous. Is there something wrong? Should I just build an image from scratch?

Bratik commented 8 years ago

Prebuild image not working for me neither, using a Raspberry PI 2

Rafiot commented 8 years ago

Are you using this image? https://www.circl.lu/assets/CIRCLean/2016-04-26_CIRCLean.img.gz

I tested it on RaspberryPi 1, 2 and 3

The most recent image isn't supposed to convert the files anymore, only search for active content. it is highly possible you have false positives as the tests on the default image are very strict but I'm happy to look at it so if you can share the docs creating false positive, that would be great.

Bratik commented 8 years ago

in my case the image seems to be broken, I tried to write it with dd on my linux laptop several times and I just tried with win32diskImager just to be sure. Raspbian seems to be booting during a few seconds, showing some informations, warnings and error codes fastly then the raspberry shuts down, no change is made to the usb keys attached.(top left and top right)

Rafiot commented 8 years ago

And you DD the image I just mentioned (after you gunzip it), right? Because that's super awkward as it works for me.

Bratik commented 8 years ago

Yes that's what I'm doing, i'm gonna try with another micro-SD card when I find one, i'll keep you in touch. The micro-SD card used here is a 8GB Kingston SDHC class 4.

LarrySuto1 commented 8 years ago

Hi thanks no I was not using that image. I will try. How come the image does not convert anymore?

On Wed, May 11, 2016 at 6:12 AM, Raphaël Vinot notifications@github.com wrote:

Are you using this image? https://www.circl.lu/assets/CIRCLean/2016-04-26_CIRCLean.img.gz

I tested it on RaspberryPi 1, 2 and 3

The most recent image isn't supposed to convert the files anymore, only search for active content. it is highly possible you have false positives as the tests on the default image are very strict but I'm happy to look at it so if you can share the docs creating false positive, that would be great.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/CIRCL/Circlean/issues/42#issuecomment-218454621

Rafiot commented 8 years ago

Because it is totally unreliable: relying on libreoffice, poppler and ghostscript on random documents was a bad approach and the raspberry pi was regularly in an unresponsive state with no way for the user to know if it was processing a big file, or stalled.

I didn't find any sane library to convert the files but if you're aware of one, I'll gladly use it.

jonathanturcotte commented 8 years ago

The Jessie based prebuilds are not working on my Raspberry Pi 2 B. Script runs and completes almost instantly but no files of any type are copied over.

I managed to get the 2015-05-27_CIRCLean.img working, but presumably this is because it is based on Wheezy.

Any help in getting the newer images to work would be greatly appreciated!

Rafiot commented 8 years ago

Can you try to add a sleep before the shutdown in rc.local, and tell me if you see any error message? This image works on my rpi2 B so it's weird...

Are you 100% sure at the time you tested both keys were mountable? I had weird issues when once in a while the FS of one of the key gets broken and needs a fsck before I can use it again.

jonathanturcotte commented 8 years ago

Here is a photo of the output after adding a sleep to the end of rc.local

It looks as if the USB is being mounted read only? tmp_18497-img_20160623_0909431098640131

Rafiot commented 8 years ago

It fails at mounting both USB keys. Are they mountable on other file systems? Also, what is their file system?

jonathanturcotte commented 8 years ago

Source is FAT32 and destination is NTFS, and both mount under windows fine. I tested it on my linux VM and they mount on that as well.

suryatkd commented 8 years ago

Has there been any progress with the PDF files? Tested out several PDF files and none of them get transferred to the clean USB. They're just labeled dangerous.

Rafiot commented 8 years ago

Well, if they have active content, they are labelled dangerous.

suryatkd commented 8 years ago

Ok makes sense. The most recent build was supposed to boot into Raspbian if no USB keys were detected. I get a log in/password prompt?

dputtick commented 7 years ago

It looks like the issues mentioned here are resolved. In the current release, NTFS keys mount as read-only. That will be fixed in the new release. Some of the other problems mentioned earlier are hard to replicate, but please open a new issue if you continue to have problems. Thanks!