-
BLS stands for
- Barreto-Lynn-Scott: BLS12, a Pairing Friendly Elliptic Curve.
- Boneh-Lynn-Shacham: A Signature Scheme.
-
Signature Aggregation
-
It is possible to verify
n
aggregate signatures on the same message with just2
pairings instead ofn+1
.
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
/// @dev Verifies that a hash has been signed by the given signer. | |
/// @param hash Any 32 byte hash. | |
/// @param signerAddress Address that should have signed the given hash. | |
/// @param signature Proof that the hash has been signed by signer. | |
/// @return True if the address recovered from the provided signature matches the input signer address. | |
function isValidSignature( | |
bytes32 hash, | |
address signerAddress, | |
bytes memory signature | |
) |
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
#!/bin/bash | |
# vpnc-script wrapper for use with openconnect that routes all AWS IP ranges over the VPN. | |
# Pass any additional IP ranges to be routed as args to the script. | |
# | |
# Requirements: bash, curl and jq. | |
# | |
# Example usage: | |
# openconnect https://vpn.example.com/profile --script '/path/to/vpnc-script-aws' | |
# |
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
import time | |
import os | |
import logging | |
import sys | |
from subprocess import call, PIPE | |
import time, os, logging | |
MODEL_CLASSES = ['list','of','models','to','backup'] | |
email = '[email protected]' |