Comments (5)
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 entercd .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.
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.
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.
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](https://private-user-images.githubusercontent.com/3537289/293995691-5a222a5f-ee32-4d05-9c13-f033fb7e821e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyMTY3MTUsIm5iZiI6MTcxOTIxNjQxNSwicGF0aCI6Ii8zNTM3Mjg5LzI5Mzk5NTY5MS01YTIyMmE1Zi1lZTMyLTRkMDUtOWMxMy1mMDMzZmI3ZTgyMWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjRUMDgwNjU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWE5OTA3YTFhNTc3NDkyNjQ5Nzk1ZWVjOTMyZjFmNGVhMTg4YzE1ZThjZTc0ZjliOGEyNGIxNjllOGFjN2I1MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.M0QrjI4OMDUehI6paVRGC27p15dM3_gpFN9SVE_9W60)
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.
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)
- Unknown waveshare driver variant epd2in13[.*] HOT 3
- KeyError with SSH connections HOT 1
- Cannot find nimbase.h with all installs
- Cannot delete frames
- Not all Pimoroni inky displays support saturation kwarg HOT 2
- Sporadic "Nim executable not found" HOT 3
- Error: cannot open file: pixie HOT 2
- Clock overlay time not update HOT 5
- Overlay clock - Wrong time display on startup HOT 15
- Parse error in frameos/src/drivers/waveshare/driver.nim using waveshare.EPD_4in2_V2 device HOT 6
- Fails to find/compile pixie HOT 3
- Cannot create frames HOT 5
- Share your frames HOT 1
- 503 when adding new frames HOT 2
- wavsshare 12.48" driver still not working HOT 1
- Can't create frame HOT 11
- Seriously struggling to figure out making my own scenes? HOT 2
- Folder gallery HOT 2
- No compiling HOT 2
- https://source.unsplash.com/random seems down HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frameos.