1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-22 22:25:26 +01:00
eclair/eclair-core
Bastien Teinturier 00de49f750
Better handling of invalid public keys in codecs (#3012)
Codecs shouldn't throw exceptions and should rather return an explicit
`Attempt.Failure` when decoding invalid input. We fix a few codecs that
create public keys to do avoid throwing.

We also wrap onion TLV streams into a `Try`: even though in theory none
of our codecs should throw, since we don't have good enough fuzzing in
place to guarantee that it, it's safer to catch exceptions in case a
codec isn't correctly implemented.
2025-02-21 14:54:13 +01:00
..
src Better handling of invalid public keys in codecs (#3012) 2025-02-21 14:54:13 +01:00
eclair-cli Fix eclair-cli "compact" mode (#2990) 2025-02-11 11:17:25 +01:00
pom.xml Update Bitcoin Core to v28.x (#2962) 2025-02-14 08:52:51 +01:00