Oliver Gugger
8b7c88537c
multi: refactor SignDigestCompact into SignMessageCompact
...
To make it possible to use a remote lnrpc server as a signer for our
wallet, we need to change our main interface to sign the message instead
of the message's digest. Otherwise we'd need to alter the
lnrpc.SignMessage RPC to accept a digest instead of only the message
which has security implications.
2021-10-08 12:06:52 +02:00
Oliver Gugger
0b4e03f5fc
multi: add golang 1.17 compatible build tags
...
With go 1.17 a change to the build flags was implemented:
https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md
The formatter now automatically adds the forward-compatible build tag
format and the linter checks for them, so we need to include them in our
code.
2021-09-29 17:31:37 -07:00
eugene
9cea8741b1
fuzz/lnwire: minor touch-ups, remove MaxPayloadLength
...
This commit makes the fuzz/lnwire tests build and run without
crashing.
2021-08-11 16:59:16 -04:00
eugene
bbe85f3c16
fuzz/zpay32: add Decode/Encode fuzz tests.
...
These can be expanded on in the future. Encoding is currently done
with a static key for test determinism.
2020-10-21 06:42:54 -04:00
eugene
f82653cb06
fuzz: change return values to 1 rather than 0 or -1
...
This allows gofuzz to store the mutating input as coverage if it reaches
any new coverage, even if it didn't make it to the end of the test.
2020-10-13 15:17:57 -04:00
eugene
6ba35238ef
fuzz/brontide: fix fuzz_utils.go NewBrontideMachine callsites
2020-09-22 15:53:49 -04:00
Olaoluwa Osuntokun
2c0fdbadde
Merge pull request #3969 from Crypt-iQ/wt_fuzz_0108
...
fuzz/wtwire: adding wtwire fuzzers
2020-03-23 17:55:17 -07:00
nsa
363bdc42b0
fuzz/lnwire: adding fuzz harnesses for all lnwire messages + zlib
2020-03-03 13:58:25 -05:00
nsa
0d42da0cb3
fuzz/brontide: random+static round-trip encrypt+decrypt harnesses
2020-01-30 16:46:02 -05:00
nsa
0be5660a2a
fuzz/brontide: random+static encrypt harnesses
2020-01-30 16:46:02 -05:00
nsa
468e5c03e9
fuzz/brontide: random+static decrypt harnesses
2020-01-30 16:46:01 -05:00
nsa
116c5469bc
fuzz/brontide: random+static harnesses for acts 1-3
2020-01-30 16:46:01 -05:00
nsa
511fdb2520
fuzz/brontide: add fuzzing helper utilities
2020-01-30 16:46:01 -05:00
nsa
bdb20d0053
fuzz/wtwire: adding wtwire fuzzers
2020-01-28 20:20:35 -05:00