Giter Site home page Giter Site logo

Comments (5)

sowbug avatar sowbug commented on June 24, 2024 1

Same here. Also docker with latest tag. Just to repeat -- the issue isn't ed25519 support, it's that the UI's own self-generated RSA keys don't work out of the box.

For those who aren't familiar with Linux and are just trying to get it working, do this:

  • ssh to the rpi
  • ssh-keygen -t rsa and when it asks for where to save and which passphrase to use, hit enter
  • cd .ssh/
  • cat id_rsa.pub >> authorized_keys
  • chmod 400 authorized_keys

Now cat id_rsa and copy the output. Then go back to the controller's UI (http://yourserver:8989/settings) and paste the output into the private-key field. Do the same with id_rsa.pub, but in the public key field. Save settings, and then go to your frame's redeploy action, and it should work (in my case it didn't, but I'll enter a new issue).

from frameos.

alexrudd2 avatar alexrudd2 commented on June 24, 2024 1

Strange, I thought this was fixed by #27 but it recurred with me again, running ac2e102.

Working around for now since I want to (1) test #30 again and (2) try out the dithering on a red/black/white InkyWhat. (I had code lying around locally that tried to dither with Pillow but never quite worked)

False alarm.

from frameos.

mariusandra avatar mariusandra commented on June 24, 2024

Hey @ikornaselur , thanks for trying out FrameOS and for reporting back!

Indeed, currently only RSA keys are supported. It doesn't seem too hard to add ed25519 though. I'll see what can't be done, but can't promise exactly when I'll get to it.

from frameos.

ikornaselur avatar ikornaselur commented on June 24, 2024

No worries! I think it's fair that only RSA keys are supported. But the main issue is still that the generated keypair from the UI, with this button:

image

produces the "not a valid RSA private key file" error, so seemingly the key being generated by FrameOS is invalid. I was only able to get a manually generated keypair working.

Does a generated keypair from the UI work on your end? I'm happy to investigate further on my end and see if I can identify the issue.

Oh, and for further reference, I am deploying the controller with docker and the :latest tag

from frameos.

mariusandra avatar mariusandra commented on June 24, 2024

This should work now!

I tried changing the default key from RSA to ed25519, but ran into some weird issue. The generated key seemed much too short, even for ed25519, and ChatGPT seems to think it's better to defer to ssh-keygen than use python with ed25519. So for another day.

from frameos.

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.