-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runes: Introduce Check for request context
We introduce a Context struct that holds data relevant to a signing request and that we want to check against a rune. The struct currently checks the following informations: -method: the rpc method -pubkey: the pubkey that was used to sign the request -time: the timestamp that was part of the rune. (this way we COULD create a rune per command that times out after a certain time) Signed-off-by: Peter Neuroth <[email protected]>
- Loading branch information
Showing
1 changed file
with
192 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters