GithubHelp home page GithubHelp logo

Comments (13)

unixabg avatar unixabg commented on July 28, 2024

Greetings,
I just pushed to next-4.x and master a kali encrypted basic dropbear example that builds and unlocks on my test setup. Please try that example as a starting point and see if you have better luck. If so please close issue.

from cryptmypi.

splitstrikestream avatar splitstrikestream commented on July 28, 2024

I've encountered this error once, but it never happened again (even on the same image).

To prevent eventually getting stuck some other time, Ive placed a command to reboot the Pi if a problem like this happened, so if it happened, in a few seconds everything should be back and you could retry.

Do you still have this image? Can you verify it is a deterministic error?

from cryptmypi.

superuser5 avatar superuser5 commented on July 28, 2024

Hi,
i have tested on RPi3B+ and no luck to unlock it :(

On the client side i have this, i have to enter password twice for some reason, even though i have same error while using bearssh "Not enough available memory to open a keyslot.", but on the screen it drops to Busybox with some errors, please find screenshot attached.

ssh console
kali@kali ~> ssh [email protected] -p 2222 -i /home/kali/.ssh/id_rsa_test
[email protected]: Permission denied (publickey).
kali@kali ~ [255]> ssh [email protected] -p 2222
Enter passphrase for /dev/mmcblk0p2:
Not enough available memory to open a keyslot.
Connection to 192.168.1.13 closed.
kali@kali ~> ssh [email protected] -p 2222
Enter passphrase for /dev/mmcblk0p2:
Not enough available memory to open a keyslot.
Connection to 192.168.1.13 closed.

and the screenshot is attached.
rpi3b+_testing_kali_encrypted_basic_dropbear

from cryptmypi.

superuser5 avatar superuser5 commented on July 28, 2024

I have tested the RPI4 and similar problem, even thought i don't get any errors during step 1 or step2 of the process, i need to enter password few times to get accepted and get other errors:

ssh console

screenshot error testing kali unencrypted basic dropbear

rpi4_testing_kali_encrypted_basic_dropbear

from cryptmypi.

superuser5 avatar superuser5 commented on July 28, 2024

I've encountered this error once, but it never happened again (even on the same image).

To prevent eventually getting stuck some other time, Ive placed a command to reboot the Pi if a problem like this happened, so if it happened, in a few seconds everything should be back and you could retry.

Do you still have this image? Can you verify it is a deterministic error?

Hello,
I tried imaging multiple times but i still have errors above on the kali-encrypted-basic-dropbear and pios-encrypted-basic and test on RPi3B+ and RPI4. I tried imaging multiple times, make sure there is enough space and for some reason it does not recognize my password consistently on both and have "Not enough available memory to open a keyslot" on RPi3 consistently.

Is there a way to verify that there is no corruption during image creation process?

from cryptmypi.

unixabg avatar unixabg commented on July 28, 2024

Greetings,

Hello,
I tried imaging multiple times but i still have errors above on the kali-encrypted-basic-dropbear and pios-encrypted-basic and test on RPi3B+ and RPI4. I tried imaging multiple times, make sure there is enough space and for some reason it does not recognize my password consistently on both and have "Not enough available memory to open a keyslot" on RPi3 consistently.

Is there a way to verify that there is no corruption during image creation process?

The only thing I can think of for you since the examples/kali-encrypted-basic-dropbear works for me is to try building inside a pristine VM with latest kali (I am using kali-linux-2020.2-installer-amd64.iso installer with VirtualBox) and a fresh clone. I will leave this open and wait for you to test in a pristine environment. Oh and I do not have a Pi4 to test with. I have one ordered and upon arrival I will attempt to test all examples. And another edit and oh, what is the size of your sdcard?

from cryptmypi.

unixabg avatar unixabg commented on July 28, 2024

Greetings,
Also if still having trouble can you submit full build log? Something like:

sudo ./cryptmypi.sh examples/pios-encrypted-basic | tee pios-encrypted-basic_build-log.txt

from cryptmypi.

superuser5 avatar superuser5 commented on July 28, 2024

on the same machine that successfully creates RPI4b images, i run the following profile as is for RPi3B+: $ sudo ./cryptmypi.sh examples/kali-encrypted-basic-dropbear | tee rpi3b_plus_kali-encrypted-basic-dropbear_build_log.txt

remote and local unlock gives same error message:
$ ssh [email protected] -p 2222
Enter passphrase for /dev/mmcblk0p2:
Not enough available memory to open a keyslot.
Connection to 192.168.1.13 closed.

log file attached.
rpi3b_plus_kali-encrypted-basic-dropbear_build_log.txt

from cryptmypi.

superuser5 avatar superuser5 commented on July 28, 2024

tested same RPi3 with the example profile as is (running v7+)
sudo ./cryptmypi.sh examples/pios-encrypted-basic | tee pios-encrypted-basic_build-log.txt.

Problem: I cannot authenticate using local unlock (cryptsetup: ERROR: crypt: cryptsetup failed, bad password or options?)

log file:
pios-encrypted-basic_build-log.txt

from cryptmypi.

splitstrikestream avatar splitstrikestream commented on July 28, 2024

The original issue **Not enough available memory to open a keyslot
** should be solved in the latest PR #20

from cryptmypi.

unixabg avatar unixabg commented on July 28, 2024

Greetings,
I am going to close this since I tested latest v4-1-beta tagged release with both rpi3b+ and rpi4 on kali-encrypted-basic-dropbear and both runs worked as expected. If more assistance is needed please open a new issue.

from cryptmypi.

howtodo1 avatar howtodo1 commented on July 28, 2024

I have the same problem and same kind of raspberry pi, did I do something wrong during the build?
Update: I maybe found out why this is happening, at least 1GB of ram is needed at luksOpen and the raspberry pi 3b plus has 1gb of ram so it would not be able to open. You should see this website here

from cryptmypi.

unixabg avatar unixabg commented on July 28, 2024

Greetings,
First thank you for the update and information. I will be on the look out for this during my testing in the coming weeks. Please know that I am really only testing against the next-4.x branch and primary testing on rpi3b+.

from cryptmypi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.