Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/neurlang/wayland
Golang Wayland
Go vulkan cube demo
This includes two sample apps that render into a shared memory. Tested on pc (x64) and raspberry pi (arm64). The smoke app reacts on mouse input.
This text editor is one of the sample apps. It is a Linux and Windows multiplatform programming text editor.
None, this is a pure go implementation. But for a meaningful keyboard (on Linux) support, you need the C libxkbcommon library for apps that require keyboard. On windows this is not necessary.
Golang install:
sudo apt-get install golang
or
sudo dnf install golang
Run the docker build command in the provided build.sh script.
Next, start your Wayland compositor, and run demos using the docker run commands that can be found in the run-shm.sh or run-smoke.sh scripts.
Important: If your docker requires root privileges, use sudo -E to start the programs. This is because $XDG_RUNTIME_DIR env variable is required.
First, you need a wayland-enabled Linux, if you don't have one, install the Wayland compositor weston that is useful for testing:
sudo apt-get install weston
Install libxkbcommon:
sudo apt-get install libxkbcommon-dev
or in Fedora:
sudo dnf install libxkbcommon-devel
Install wayland-client and vulkan for cube:
sudo apt-get install libwayland-dev libvulkan-dev
On NVIDIA, install nvidia-egl-wayland for cube:
sudo apt-get install libnvidia-egl-wayland1
You don't need to do anything special on Windows, simply continue using the install steps below
Next, get the demos:
go get github.com/neurlang/wayland/...
Then, install them:
go install github.com/neurlang/wayland/go-wayland-simple-shm@latest
go install github.com/neurlang/wayland/go-wayland-smoke@latest
go install github.com/neurlang/wayland/go-wayland-imageviewer@latest
go install -tags wayland github.com/neurlang/wayland/go-wayland-cube@latest
go install github.com/neurlang/wayland/go-wayland-texteditor@latest
go install github.com/neurlang/wayland/go-wayland-texteditor/editor_backend@latest
go install github.com/neurlang/wayland/go-wayland-web-browser/browser@latest
Using older golang (there is support for golang >= 1.18):
go get github.com/neurlang/wayland/go-wayland-simple-shm@latest
go get github.com/neurlang/wayland/go-wayland-smoke@latest
go get github.com/neurlang/wayland/go-wayland-imageviewer@latest
go get github.com/neurlang/wayland/go-wayland-texteditor@latest
go get github.com/neurlang/wayland/go-wayland-texteditor/editor_backend@latest
Finally, run weston and the executables.
First, run the editor_backend executable
Secondly, run the go-wayland-texteditor executable, in the folder with the PNGs and JPGs (to see the fonts)
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.