Browse Source

pyln: Add a warning that pyln-proto is not safe for production use

travis-experimental
Christian Decker 4 years ago
committed by Rusty Russell
parent
commit
e8dcd59b24
  1. 8
      contrib/pyln-proto/pyln/proto/onion.py

8
contrib/pyln-proto/pyln/proto/onion.py

@ -1,3 +1,11 @@
"""Pure-python implementation of the sphinx onion routing format
Warning: This implementation is not intended to be used in production, rather
it is geared towards testing and experimenting. It may have several critical
issues, including being susceptible to timing attacks and crashes. You have
been warned!
"""
from .primitives import varint_decode, varint_encode, Secret
from .wire import PrivateKey, PublicKey, ecdh
from binascii import hexlify, unhexlify

Loading…
Cancel
Save