-
Notifications
You must be signed in to change notification settings - Fork 35
clipboard fix (v2) #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,7 +32,9 @@ RUN set -eux; \ | |
| make -j$(nproc); \ | ||
| make install; | ||
|
|
||
| FROM ghcr.io/m1k1o/neko/chromium:3.0.6 AS neko | ||
| #FROM ghcr.io/m1k1o/neko/chromium:3.0.6 AS neko | ||
| FROM ghcr.io/raiden-staging/neko/chromium:3.0.6-kernel-editv1 AS neko | ||
| # ^--------- edited + rebuilt neko:chromium to disable host only on clipboard events | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey @raiden-staging I've forked neko over here: https://github.com/onkernel/neko Could you open a PR on that repo with this change? |
||
| FROM docker.io/ubuntu:22.04 | ||
|
|
||
| ENV DEBIAN_FRONTEND=noninteractive | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,32 @@ desktop: | |
| screen: "1024x768@60" | ||
|
|
||
| member: | ||
| provider: "noauth" | ||
| provider: multiuser | ||
| multiuser: | ||
| admin_password: "admin" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using "admin" as the admin password is a security risk, even in development environments. Consider using a stronger password or making this configurable via environment variables. Type: Security | Severity: Medium |
||
| admin_profile: | ||
| name: "" # if empty, the login username is used | ||
| is_admin: true | ||
| can_login: true | ||
| can_connect: true | ||
| can_watch: true | ||
| can_host: true | ||
| can_share_media: true | ||
| can_access_clipboard: true | ||
| sends_inactive_cursor: true | ||
| can_see_inactive_cursors: true | ||
| user_password: "neko" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Default Passwords Expose Admin AccessWeak default passwords are hardcoded for admin ("admin") and user ("neko") accounts in the Locations (1) |
||
| user_profile: | ||
| name: "" # if empty, the login username is used | ||
| is_admin: false | ||
| can_login: true | ||
| can_connect: true | ||
| can_watch: true | ||
| can_host: true | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Both admin and user profiles have Type: Security | Severity: Medium |
||
| can_share_media: true | ||
| can_access_clipboard: true | ||
| sends_inactive_cursor: true | ||
| can_see_inactive_cursors: false | ||
|
|
||
| session: | ||
| merciful_reconnect: true | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a version pin or digest hash to ensure reproducible builds and avoid potential supply chain risks. For example:
FROM ghcr.io/raiden-staging/neko/chromium:3.0.6-kernel-editv1@sha256:...or at minimum document the source commit/tag this image was built from for audit purposes.Type: Security | Severity: Medium