Skip to content

Commit

Permalink
Patches for libsodium 1.0.17 signature and pubkey validation
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed May 1, 2021
1 parent fdeb910 commit 3e154b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions depends/patches/libsodium/1.0.15-pubkey-validation.diff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff -ur libsodium-1.0.18-orig/src/libsodium/crypto_sign/ed25519/ref10/open.c libsodium-1.0.18/src/libsodium/crypto_sign/ed25519/ref10/open.c
--- libsodium-1.0.18-orig/src/libsodium/crypto_sign/ed25519/ref10/open.c 2019-05-18 16:32:11.000000000 -0400
+++ libsodium-1.0.18/src/libsodium/crypto_sign/ed25519/ref10/open.c 2020-01-21 18:55:22.474233831 -0500
diff -ur libsodium-1.0.17-orig/src/libsodium/crypto_sign/ed25519/ref10/open.c libsodium-1.0.17/src/libsodium/crypto_sign/ed25519/ref10/open.c
--- libsodium-1.0.17-orig/src/libsodium/crypto_sign/ed25519/ref10/open.c 2019-05-18 16:32:11.000000000 -0400
+++ libsodium-1.0.17/src/libsodium/crypto_sign/ed25519/ref10/open.c 2020-01-21 18:55:22.474233831 -0500
@@ -32,8 +32,11 @@
ge25519_has_small_order(sig) != 0) {
return -1;
Expand Down
6 changes: 3 additions & 3 deletions depends/patches/libsodium/1.0.15-signature-validation.diff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff -ur libsodium-1.0.18-orig/src/libsodium/crypto_sign/ed25519/ref10/open.c libsodium-1.0.18/src/libsodium/crypto_sign/ed25519/ref10/open.c
--- libsodium-1.0.18-orig/src/libsodium/crypto_sign/ed25519/ref10/open.c 2019-05-18 21:32:11.000000000 +0100
+++ libsodium-1.0.18/src/libsodium/crypto_sign/ed25519/ref10/open.c 2020-02-18 00:00:08.544107613 +0000
diff -ur libsodium-1.0.17-orig/src/libsodium/crypto_sign/ed25519/ref10/open.c libsodium-1.0.17/src/libsodium/crypto_sign/ed25519/ref10/open.c
--- libsodium-1.0.17-orig/src/libsodium/crypto_sign/ed25519/ref10/open.c 2019-05-18 21:32:11.000000000 +0100
+++ libsodium-1.0.17/src/libsodium/crypto_sign/ed25519/ref10/open.c 2020-02-18 00:00:08.544107613 +0000
@@ -10,6 +10,81 @@
#include "private/ed25519_ref10.h"
#include "utils.h"
Expand Down

0 comments on commit 3e154b0

Please sign in to comment.