lightning-terminal/session
Elle Mouton d5c26045f7
multi: add deadline for first connection of new LNC conn
In this commit, we add a deadline for the initial connection of an LNC
connection. So with this, the user is forced to use their pairing phrase
within a certain time frame. After this initial connection, future
connections are made with the second handshake version meaning that the
pairing phrase is rendered useless. By adding a time limit to the time
in which a user can use their pairing phrase, we reduce the risk created
by the users pairing phrase being leaked. The default time limit is set
to 10 minutes but can be customsed with the new `firstlncconndeadline`
flag.
2022-08-23 09:31:18 +02:00
..
db.go session: add session package 2021-11-24 13:44:25 -05:00
interface.go litrpc+session: add CreatedAt member to Session 2022-08-18 18:37:44 +02:00
log.go session: add session package 2021-11-24 13:44:25 -05:00
macaroon.go multi: add super mac validator to proxy 2022-02-17 15:00:41 +01:00
macaroon_test.go session: add super macaroon root key ID 2022-02-15 10:41:43 +00:00
metadata.go session: add session package 2021-11-24 13:44:25 -05:00
server.go multi: add deadline for first connection of new LNC conn 2022-08-23 09:31:18 +02:00
store.go multi: bump all dependencies to latest versions 2022-06-24 16:18:14 +02:00
tlv.go litrpc+session: add CreatedAt member to Session 2022-08-18 18:37:44 +02:00
tlv_test.go litrpc+session: add CreatedAt member to Session 2022-08-18 18:37:44 +02:00