CIRCL / Circlean

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

Username/password issue #62

Closed egtanhasr closed 6 years ago

egtanhasr commented 6 years ago

This is the same issue as #38 I'm using the pre-built image of CIRCLean. It is working on my raspberry pi for the basic function and copying data to a new USB. However, if I connect it to a monitor and try to login, the "pi"/"raspberry" username/password combo does not work.

Could you help me figure out the correct combo?

Rafiot commented 6 years ago

The pre-built image doesn't have any user for security reason: it could be exploited by an attacker (teensy-like attacks).

If you want to develop, or do changes on CIRCLean, you should have a look at PyCIRCLean: https://github.com/CIRCL/PyCIRCLean

if you install the library, you can run it on a rPi directly, or on any other system.

gianlucabreda commented 6 years ago

I have his same issue, I'll try putting it in another way :)

I followed these exact steps:

At this point I am answered to input a user and password, but no reasonably dumb password seems to work.

There is apparently no possibility to do anything as the login is shown shortly after the system check is done (with many failed statuses).

May this be related to some Raspberry pi 3 features, most failed statuses are related to Network Time Synchronization

Rafiot commented 6 years ago

All the error/warning messages printed by systemd you see on the screen are expected and don't have any impact.

The user login is deactivated for security reason (i.e. one USB key acting as a keyboard and tempering the OS). There is in fact nothing you can do on the image. The OS is expected to boot, process the content of the source key, copy it over to the destination key, and shutdown.

If you want to use the Raspberry Pi as a normal device, you will have to use an other image.

gianlucabreda commented 6 years ago

I then guess everything is given by a misunderstanding of ours! :)

I thought the system worked like this when using this image:

Rafiot commented 6 years ago

Sorry, it isn't clear on the readme: no, the system is only doing the USB cleaning, you'll need to flash an other SD card if you want to use raspberry pi normally, and swap them when needed.

gianlucabreda commented 6 years ago

Thank you for the prompt reply anyway!!

Rafiot commented 6 years ago

You're welcome!