profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/dsprenkels/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Daan Sprenkels dsprenkels Nijmegen, The Netherlands https://dsprenkels.com

BlockchainCommons/sss 14

SLIP-39 Library based on a fork of Daan Sprenkles' SSS Library for Shamir secret sharing

dsprenkels/codimd-image-share 3

A primitive Android app for sharing images via your personal CodiMD service

dsprenkels/asn2ynab 1

Convert ASN bank CSV exports to YNAB

cryptojedi/hacspecs-rust 0

specs written in hacspec-rust

dsprenkels/age 0

A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.

dsprenkels/apparmor-profiles 0

Apparmor profiles collection

dsprenkels/avrd 0

AVR device definitions

pull request commentdsprenkels/mac-minitables

build(deps): bump env_logger from 0.8.3 to 0.9.0

@dependabot merge

dependabot[bot]

comment created time in 4 days

pull request commentdsprenkels/mac-minitables

build(deps): bump sha2 from 0.9.3 to 0.9.5

@dependabot merge

dependabot[bot]

comment created time in 4 days

PullRequestReviewEvent

push eventdsprenkels/mac-minitables

dependabot[bot]

commit sha 8c7dd59430a8214c2d08635e88172241f45f2a30

build(deps): bump quickcheck from 0.9.2 to 1.0.3 Bumps [quickcheck](https://github.com/BurntSushi/quickcheck) from 0.9.2 to 1.0.3. - [Release notes](https://github.com/BurntSushi/quickcheck/releases) - [Commits](https://github.com/BurntSushi/quickcheck/compare/0.9.2...1.0.3) Signed-off-by: dependabot[bot] <support@github.com>

view details

Daan Sprenkels

commit sha bf3718618688e4dd98628922c7f998a540a68f8d

Merge pull request #44 from dsprenkels/dependabot/cargo/quickcheck-1.0.3 build(deps): bump quickcheck from 0.9.2 to 1.0.3

view details

push time in 4 days

PR merged dsprenkels/mac-minitables

build(deps): bump quickcheck from 0.9.2 to 1.0.3 dependencies

Bumps quickcheck from 0.9.2 to 1.0.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/BurntSushi/quickcheck/commit/defde6fb0ce20b0c8c4e672aa9ae821f7d1f5b38"><code>defde6f</code></a> 1.0.3</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/32d8b0383b5cedb5e6dd8fd3dd1494f734e49d6e"><code>32d8b03</code></a> impl: eliminate panic on overflowing absolute value</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/4b11ba8ce4dd52aa1d4d460b557c82a9fa795dd9"><code>4b11ba8</code></a> 1.0.2</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/82373f9ba565160027eafc893e280aa790b500aa"><code>82373f9</code></a> impl: fix signed shrinker</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/40ebcc6240f6fa516bddffd26746eeda122f807d"><code>40ebcc6</code></a> 1.0.1</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/74d0c60b1236ce6199f5bd3fee3534299c302c80"><code>74d0c60</code></a> deps: trim 'rand' dependencies</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/9dfcf7fe27e41f04da3e143a332af41350c564c6"><code>9dfcf7f</code></a> release: more preparation for 1.0 release</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/480a879a00922b3dd86915d787082f9c650db33f"><code>480a879</code></a> release: prepare for 1.0 release</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/c77366312be7afb90b9c649ec986a06e8d352ce8"><code>c773663</code></a> semver: add note on compatibility</li> <li><a href="https://github.com/BurntSushi/quickcheck/commit/d44b417e11dec5e3c9dd5d10f07e57f569b6b4fa"><code>d44b417</code></a> style: tweak formatting of top-level comment</li> <li>Additional commits viewable in <a href="https://github.com/BurntSushi/quickcheck/compare/0.9.2...1.0.3">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

</details>

+16 -62

2 comments

2 changed files

dependabot[bot]

pr closed time in 4 days

push eventdsprenkels/mac-minitables

dependabot[bot]

commit sha b58cb761c2782fa3b3e100f747c3e920000b5c66

build(deps): bump quick-error from 2.0.0 to 2.0.1 Bumps [quick-error](https://github.com/tailhook/quick-error) from 2.0.0 to 2.0.1. - [Release notes](https://github.com/tailhook/quick-error/releases) - [Commits](https://github.com/tailhook/quick-error/compare/v2.0.0...v2.0.1) Signed-off-by: dependabot[bot] <support@github.com>

view details

Daan Sprenkels

commit sha e320f1b44e6ab978c7f96822cbbe37e95e537c3f

Merge pull request #46 from dsprenkels/dependabot/cargo/quick-error-2.0.1 build(deps): bump quick-error from 2.0.0 to 2.0.1

view details

push time in 4 days

PR merged dsprenkels/mac-minitables

build(deps): bump quick-error from 2.0.0 to 2.0.1 dependencies

Bumps quick-error from 2.0.0 to 2.0.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tailhook/quick-error/commit/25ab982bb0c43130ae48485151f4a232eeab7d0c"><code>25ab982</code></a> Version bumped to v2.0.1</li> <li><a href="https://github.com/tailhook/quick-error/commit/e7a85713f1bd1979a94ba4617e1178d263067dec"><code>e7a8571</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tailhook/quick-error/issues/56">#56</a> from Byron/master</li> <li><a href="https://github.com/tailhook/quick-error/commit/a344b67a327a138e8ff535bbad4dd4cdf4d7141d"><code>a344b67</code></a> Revert whitespace changes</li> <li><a href="https://github.com/tailhook/quick-error/commit/bdad05be05bc3e5ed73aa0b8aef6a7a591a82c02"><code>bdad05b</code></a> Add compatibility with 'deny(rust_2018_idioms)'</li> <li>See full diff in <a href="https://github.com/tailhook/quick-error/compare/v2.0.0...v2.0.1">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

</details>

+2 -2

2 comments

1 changed file

dependabot[bot]

pr closed time in 4 days

pull request commentdsprenkels/mac-minitables

build(deps): bump quick-error from 2.0.0 to 2.0.1

@dependabot rebase

dependabot[bot]

comment created time in 4 days

PullRequestReviewEvent

pull request commentdsprenkels/mac-minitables

build(deps): bump quickcheck from 0.9.2 to 1.0.3

@dependabot rebase

dependabot[bot]

comment created time in 4 days

pull request commentdsprenkels/mac-minitables

build(deps): bump sha2 from 0.9.3 to 0.9.5

@dependabot rebase

dependabot[bot]

comment created time in 4 days

issue commentdsprenkels/randombytes

Tracking issue: test suite

Update: Travis CI seems to have been discontinued. We have to find an alternative.

jaromil

comment created time in 12 days

pull request commentdsprenkels/randombytes

Refactor PR #30 and add tests

Cc @thomwiggers

dsprenkels

comment created time in 12 days

PR closed dsprenkels/randombytes

Use getrandom API

In 2017, glibc added an API call for getrandom. This update checks the glibc version and uses the getrandom API call if available instead of making a syscall.

+32 -3

6 comments

1 changed file

mariaschopp

pr closed time in 12 days

pull request commentdsprenkels/randombytes

Use getrandom API

Closing in favor of #36.

mariaschopp

comment created time in 12 days

PR opened dsprenkels/randombytes

Refactor PR #30 and add tests enhancement

Request for review

This PR refactors the code from #30 and adds tests. I would appreciate a pair of extra eyes on this if somebody is willing to sacrifice some time. <3

+82 -17

0 comment

3 changed files

pr created time in 12 days

push eventdsprenkels/randombytes

Daan Sprenkels

commit sha 9cf860c7f9d6ead506b9d86255f64f63b1b60493

Merge pull request #28 from dsprenkels/travis-arch travis: Add arm64 architecture to build matrix

view details

Daan Sprenkels

commit sha d1d28e83b06b713cb3d10c25aed574b05dbffd4d

travis: Add docker credentials

view details

Peter Willemsen

commit sha 8a9bd104a431de5132966b44d898ededf793ae9b

POSIX Compliant compilation Forwarded from https://github.com/PQClean/PQClean/pull/402

view details

Daan Sprenkels

commit sha a29d979988c53b0a5e3db15ea3c14f247ffdc424

Merge pull request #32 from peterwilli/patch-1 POSIX Compliant compilation

view details

Johnathan Sharratt

commit sha 40cddfdf4f901bfc3f32c83d77fecbfe413f1e0a

Added support for random numbers generated on WASI

view details

Daan Sprenkels

commit sha 5a53f549bda8f00ff2f335f6c4e97ceca33db0ef

Merge pull request #34 from john-sharratt/master Added support for random numbers generated on WASI

view details

Daan Sprenkels

commit sha 588372e73cb9c1a1f5cb7f218d208424dd76469f

Free /dev/urandom file descriptor Fixes #33

view details

Maria Schopp

commit sha 337415b7eeb56241a84336f896488ccfbba67d4c

Use getrandom API

view details

Daan Sprenkels

commit sha d37c070742412d9be1729d81b424cb43d118055b

Skip syscall tests when using glib getrandom

view details

Daan Sprenkels

commit sha 02ec8e6bee88fdd1f86a12c79f84327f381cdaeb

Refactor #30

view details

Daan Sprenkels

commit sha 74f98202fbde4413bef111dd0a106e0d7b1e0104

Add tests for #30 Fixes #30

view details

push time in 12 days

create barnchdsprenkels/randombytes

branch : pr_30

created branch time in 12 days

issue commentdsprenkels/randombytes

urandom is never closed

Lol. @marrit-git just pointed out to me that this bug has actually been documented for more than 4 years. :')

https://github.com/dsprenkels/randombytes/commit/e9cb6e9c53cc289f0ac327597c9a79f857fc941f#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R17-R19

marco-palumbi

comment created time in 12 days

push eventdsprenkels/randombytes

Daan Sprenkels

commit sha 588372e73cb9c1a1f5cb7f218d208424dd76469f

Free /dev/urandom file descriptor Fixes #33

view details

push time in 12 days

issue closeddsprenkels/randombytes

urandom is never closed

Hi Daan, I found a little issue here: https://github.com/dsprenkels/randombytes/blob/a29d979988c53b0a5e3db15ea3c14f247ffdc424/randombytes.c#L221

/dev/urandom is opened at each call of the randombytes_linux_randombytes_urandom() but never closed. I would suggest ether:

  • close at the exit of the function
  • use for fd a static variable initialized to -1 test it and if equal to -1 open the device and assign the descriptor to fd

the last could save some time if the function is called repeatedly

closed time in 12 days

marco-palumbi

issue openeddsprenkels/randombytes

Add a test for #34

Cc @john-sharratt

created time in 22 days

pull request commentdsprenkels/randombytes

Added support for random numbers generated on WASI

@john-sharratt Thank you!

Do you have any pointers for me how this code can be tested?

john-sharratt

comment created time in 22 days

push eventdsprenkels/randombytes

Johnathan Sharratt

commit sha 40cddfdf4f901bfc3f32c83d77fecbfe413f1e0a

Added support for random numbers generated on WASI

view details

Daan Sprenkels

commit sha 5a53f549bda8f00ff2f335f6c4e97ceca33db0ef

Merge pull request #34 from john-sharratt/master Added support for random numbers generated on WASI

view details

push time in 22 days

PR merged dsprenkels/randombytes

Added support for random numbers generated on WASI

As a part of a downstream merge request for adding quantum crypto functions to WebAssembly I had to update this function.

The downstream merge request is here: https://github.com/PQClean/PQClean/pull/405#issuecomment-886058591

Essentially this adds support for compiling the random number generator against the wasm32-wasi target.

+14 -0

0 comment

1 changed file

john-sharratt

pr closed time in 22 days

issue commentdsprenkels/randombytes

urandom is never closed

@marco-palumbi PS Thanks for the bug report!

marco-palumbi

comment created time in 22 days

issue commentdsprenkels/randombytes

urandom is never closed

Hrm. This is an interesting point. This is a bug and should be fixed.

I see two options:

  1. We make no guarantees about the performance, and we are only using /dev/urandom on older linux kernels, so close the file after every call.
  2. When we are using /dev/urandom we are always using linux (right?), so we will always have access to some kind of linux synchronization primitives (maybe futex?). So in this case we can open the file once, and use the linux synchronization primitives to ensure we only open it once.

I have no clue how we would implement 2., so my vote would go to 1.

marco-palumbi

comment created time in 22 days

push eventdsprenkels/dotfiles

Daan Sprenkels

commit sha 4f96459894c70c838ec4d9f29f7b466c4a46097e

Use different helikon addrs for suyin-arch and aang

view details

push time in a month

startedSatsuoni/widevine-l3-guesser

started time in 2 months

startedembassy-rs/embassy

started time in 2 months