Download OpenAPI specification:Download
Sign Eth2 Artifacts
Signs data for the ETH2 BLS public key specified as part of the URL and returns the signature
identifier required | string (Pubkey) ^0x[a-fA-F0-9]{96}$ Example: 0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a Key for which data to sign |
type required | string |
required | object |
signingRoot | string |
required | object |
{- "type": "AGGREGATION_SLOT",
- "fork_info": {
- "fork": {
- "previous_version": "string",
- "current_version": "string",
- "epoch": "string"
}, - "genesis_validators_root": "string"
}, - "signingRoot": "string",
- "aggregation_slot": {
- "slot": "string"
}
}
{- "signature": "0xb3baa751d0a9132cfe93e4e3d5ff9075111100e3789dca219ade5a24d27e19d16b3353149da1833e9b691bb38634e8dc04469be7032132906c927d7e1a49b414730612877bc6b2810c8f202daf793d1ab0d6b5cb21d52f9e52e883859887a5d9"
}
Given a DepositRequest
, uses the specified BLS public key to sign a DepositResponse
.
identifier required | string (Pubkey) ^0x[a-fA-F0-9]{96}$ Example: 0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a Key for which data to sign |
{- "pubkey": "string",
- "withdrawal_credentials": "string",
- "amount": "string",
- "signature": "string",
- "deposit_message_root": "string",
- "deposit_data_root": "string"
}
Generates a fresh BLS keypair within Secure-Signer. Returns the hex-encoded BLS public key for the private BLS key that was generated in Secure-Signer. The 48-Byte compressed BLS public key is committed to in a remote attestation report, and the resulting remote attestation evidence is also returned.
{- "pk_hex": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a",
- "evidence": {
- "raw_report": "{\\\"id\\\":\\\"120944542146395450500266129266876628073\\\",\\\"timestamp\\\":\\\"2023-01-19T22:08:32.197334\\\",\\\"version\\\":4,\\\"epidPseudonym\\\":\\\"EbrM6X6YCH3brjPXT23gVh/I2EG5sVfHYh+S54fb0rrAqVRTiRTOSfLsWSVTZc8wrazGG7oooGoMU7Gj5TEhsvsDIV4aYpvkSk/E3Tsb7CaGd+Iy1cEhLO4GPwdmwt/PXNQQ3htLdy3aNb7iQMrNbiFcdkVdV/tepdezMsSB8Go=\\\",\\\"advisoryURL\\\":\\\"https://security-center.intel.com\\\",\\\"advisoryIDs\\\":[\\\"INTEL-SA-00334\\\",\\\"INTEL-SA-00615\\\"],\\\"isvEnclaveQuoteStatus\\\":\\\"SW_HARDENING_NEEDED\\\",\\\"isvEnclaveQuoteBody\\\":\\\"AgABAIAMAAANAA0AAAAAAEJhbJjVPJcSY5RHybDnAD8AAAAAAAAAAAAAAAAAAAAAFBQLB/+ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAfAAAAAAAAANqMEbQOfHQIMRPXjiarcfU2OGQgJTSFT8UXb3I19gzSAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACD1xnnferKFHD2uvYqTXdDA8iZ22kCD5xw7h38CMfOngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDSUNK0HAOeb5lwMcEOUXfQmvW1+KIwWZx32nYIjRPGwzo3oA2ClBVCteCtoA1yxgAAAAAAAAAAAAAAAAAAAAA\\\"}",
- "signed_report": "jmabfL+XCFhBSRVXqxc9sGDJ46FO0u1DHztqpOxHgHYloDyrxtJhLAGssnpOpzTW2N8EzYMRPtY48MQiKJN9fcDvF4OgSuUMXKf1wq9SB6N5qRstSDer3fAETQH4L3pCAIW2wIh5yKAs6DTxNGhWDvYFV/CRvlUKsQYjLBqFCMDnhCouzV1DknxgpS0ms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Q8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBADANBgkq\\nhkiG9w0BAQsFAAOCAYEAeF8tYMXICvQqeXYQITkV2oLJsp6J4JAqJabHWxYJHGir\\nIEqucRiJSSx+HjIJEUVaj8E0QjEud6Y5lNmXlcjqRXaCPOqK0eGRz6hi+ripMtPZ\\nsFNaBwLQVV905SDjAzDzNIDnrcnXyB4gcDFCvwDFKKgLRjOB/WAqgscDUoGq5ZVi\\nzLUzTqiQPmULAQaB9c6Oti6snEFJiCQ67JLyW/E83/frzCmO5Ru6WjU4tmsmy8Ra\\nUd4APK0wZTGtfPXU7w+IBdG5Ez0kE1qzxGQaL4gINJ1zMyleDnbuS8UicjJijvqA\\n152Sq049ESDz+1rRGc2NVEqh1KaGXmtXvqxXcTB+Ljy5Bw2ke0v8iGngFBPqCTVB\\n3op5KBG3RjbF6RRSzwzuWfL7QErNC8WEy5yDVARzTA5+xmBc388v9Dm21HGfcC8O\\nDD+gT9sSpssq0ascmvH49MOgjt1yoysLtdCtJW/9FZpoOypaHx0R+mJTLwPXVMrv\\nDaVzWh5aiEx+idkSGMnX\\n-----END CERTIFICATE-----\\n"
}
}
Generates a fresh ETH (SECP256K1) keypair within Secure-Signer. Returns the hex-encoded ETH public key for the private ETH key that was generated in Secure-Signer. The 33-Byte compressed ETH public key is committed to in a remote attestation report, and the resulting remote attestation evidence is also returned. The evidence
should be verified before trusting the ETH key, which is used to encrypt a BLS keystore password during importing.
{- "pk_hex": "0x025f163d5de3470d4b3bf9f739d661a88aeccc257fc4f4735d8c1a905baf5e813b",
- "evidence": {
- "raw_report": "{\\\"id\\\":\\\"120944542146395450500266129266876628073\\\",\\\"timestamp\\\":\\\"2023-01-19T22:08:32.197334\\\",\\\"version\\\":4,\\\"epidPseudonym\\\":\\\"EbrM6X6YCH3brjPXT23gVh/I2EG5sVfHYh+S54fb0rrAqVRTiRTOSfLsWSVTZc8wrazGG7oooGoMU7Gj5TEhsvsDIV4aYpvkSk/E3Tsb7CaGd+Iy1cEhLO4GPwdmwt/PXNQQ3htLdy3aNb7iQMrNbiFcdkVdV/tepdezMsSB8Go=\\\",\\\"advisoryURL\\\":\\\"https://security-center.intel.com\\\",\\\"advisoryIDs\\\":[\\\"INTEL-SA-00334\\\",\\\"INTEL-SA-00615\\\"],\\\"isvEnclaveQuoteStatus\\\":\\\"SW_HARDENING_NEEDED\\\",\\\"isvEnclaveQuoteBody\\\":\\\"AgABAIAMAAANAA0AAAAAAEJhbJjVPJcSY5RHybDnAD8AAAAAAAAAAAAAAAAAAAAAFBQLB/+ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAfAAAAAAAAANqMEbQOfHQIMRPXjiarcfU2OGQgJTSFT8UXb3I19gzSAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACD1xnnferKFHD2uvYqTXdDA8iZ22kCD5xw7h38CMfOngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDSUNK0HAOeb5lwMcEOUXfQmvW1+KIwWZx32nYIjRPGwzo3oA2ClBVCteCtoA1yxgAAAAAAAAAAAAAAAAAAAAA\\\"}",
- "signed_report": "jmabfL+XCFhBSRVXqxc9sGDJ46FO0u1DHztqpOxHgHYloDyrxtJhLAGssnpOpzTW2N8EzYMRPtY48MQiKJN9fcDvF4OgSuUMXKf1wq9SB6N5qRstSDer3fAETQH4L3pCAIW2wIh5yKAs6DTxNGhWDvYFV/CRvlUKsQYjLBqFCMDnhCouzV1DknxgpS0msO/fIltCJMssx+riAuDdy4xn9FBFtZeIO+CzQD1OOWGSya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Bgkq\\nhkiG9w0BAQsFAAOCAYEAeF8tYMXICvQqeXYQITkV2oLJsp6J4JAqJabHWxYJHGir\\nIEqucRiJSSx+HjIJEUVaj8E0QjEud6Y5lNmXlcjqRXaCPOqK0eGRz6hi+ripMtPZ\\nsFNaBwLQVV905SDjAzDzNIDnrcnXyB4gcDFCvwDFKKgLRjOB/WAqgscDUoGq5ZVi\\nzLUzTqiQPmULAQaB9c6Oti6snEFJiCQ67JLyW/E83/frzCmO5Ru6WjU4tmsmy8Ra\\nUd4APK0wZTGtfPXU7w+IBdG5Ez0kE1qzxGQaL4gINJ1zMyleDnbuS8UicjJijvqA\\n152Sq049ESDz+1rRGc2NVEqh1KaGXmtXvqxXcTB+Ljy5Bw2ke0v8iGngFBPqCTVB\\n3op5KBG3RjbF6RRSzwzuWfL7QErNC8WEy5yDVARzTA5+xmBc388v9Dm21HGfcC8O\\nDD+gT9sSpssq0ascmvH49MOgjt1yoysLtdCtJW/9FZpoOypaHx0R+mJTLwPXVMrv\\nDaVzWh5aiEx+idkSGMnX\\n-----END CERTIFICATE-----\\n"
}
}
Returns a list of hex-encoded ETH (SECP256K1) public keys for the private ETH keys that were generated in Secure-Signer.
{- "data": [
- {
- "pubkey": "0x025f163d5de3470d4b3bf9f739d661a88aeccc257fc4f4735d8c1a905baf5e813b"
}
]
}
Returns a list of hex-encoded BLS public keys for the private BLS keys that are in Secure-Signer's custody.
{- "data": [
- {
- "pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a"
}
]
}
Import a single BLS keystore conforming to version 4 of EIP-2335: BLS12-381 Keystore. The keystore's password is encrypted via ECIES with the encrypting_pk_hex
ETH SECP256K1 public key that is safeguarded within the enclave, producing ct_password
. It is expected that the user first have Secure-Signer perform remote attestation with encrypting_pk_hex
to gain trust.
The slashing_protection
follows the EIP-3076: Slashing Protection Interchange Format, which may store the signing histories of multiple BLS keys. Currently Secure-Signer only supports importing a single key at a time. This limitation means only the 0th indexed key will be imported: slashing_protection["data"][0]
. If
this slashing_protection["data"][0]["pubkey"]
does not match the pubkey decrypted from the keystore, the import will fail. If no slashing_protection
is supplied, an empty one will be initialized starting from slot=0
, source_epoch=0
, and target_epoch=0
.
keystore required | string (Keystore) JSON serialized representation of a single keystore in EIP-2335: BLS12-381 Keystore format. |
ct_password required | string ECIES encrypted password to unlock the keystore. |
encrypting_pk_hex required | string Hex-encoded ETH SECP256K1 public key (33B) used to encrypt the keystore password via ECIES. |
slashing_protection | string (SlashingProtectionData) JSON serialized representation of the slash protection data in format defined in EIP-3076: Slashing Protection Interchange Format. |
{- "keystore": "{ \"crypto\": { \"kdf\": { \"function\": \"scrypt\", \"params\": { \"dklen\": 32, \"n\": 262144, \"p\": 1, \"r\": 8, \"salt\": \"d4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3\" }, \"message\": \"\" }, \"checksum\": { \"function\": \"sha256\", \"params\": {}, \"message\": \"d2217fe5f3e9a1e34581ef8a78f7c9928e436d36dacc5e846690a5581e8ea484\" }, \"cipher\": { \"function\": \"aes-128-ctr\", \"params\": { \"iv\": \"264daa3f303d7259501c93d997d84fe6\" }, \"message\": \"06ae90d55fe0a6e9c5c3bc5b170827b2e5cce3929ed3f116c2811e6366dfe20f\" } }, \"description\": \"This is a test keystore that uses scrypt to secure the secret.\", \"pubkey\": \"9612d7a727c9d0a22e185a1c768478dfe919cada9266988cb32359c11f2b7b27f4ae4040902382ae2910c15e2b420d07\", \"path\": \"m/12381/60/3141592653/589793238\", \"uuid\": \"1d85ae20-35c5-4611-98e8-aa14a633906f\", \"version\": 4 }",
- "ct_password": "0x045f5ecda8ad98023b621fa216a11fa541fbb7bf98795d9af06ee1346a6cd7675c1b8a0b2a65db50c974b43609a4401533ce2b494ebb4a4dd26bea9e9172ae2bb1aea121f14577335ae970",
- "encrypting_pk_hex": "0x02199120115ff926bbeeedf58fe46985df3168b263f47bbcc91ddbf18402804f27",
- "slashing_protection": "{\"metadata\":{\"interchange_format_version\":\"5\",\"genesis_validators_root\":\"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2\"},\"data\":[{\"pubkey\":\"0x9612d7a727c9d0a22e185a1c768478dfe919cada9266988cb32359c11f2b7b27f4ae4040902382ae2910c15e2b420d07\",\"signed_blocks\":[],\"signed_attestations\":[]}]}"
}
{- "data": [
- {
- "status": "imported",
- "message": "string"
}
]
}