Commit Graph

12 Commits (f6cbd9dc880f0a544f5406b35bf857b2f937e63d)

Author SHA1 Message Date
Mariano Cano d30a95236d Use always go.step.sm/crypto 4 years ago
Mariano Cano 63e36ecd7a Refactor the initialization of KeyManagers. 4 years ago
Mariano Cano 1138cc4207 Retry CloudKMS GetPublicKey.
On HSM keys are not generated instantly and the GetPublicKey fails
with a FailedPrecondition error. This change will retry GetPublicKey
if this happens.
5 years ago
Mariano Cano b11bbd5728 Fix typo. 5 years ago
Mariano Cano cff346e7fd Skip test on travis, it won't fail because they have access to the KMS. 5 years ago
Mariano Cano fa8116497c Make Signer public and add contructor NewCloudKMS. 5 years ago
Mariano Cano 5d5ee68d88 Make GCP client public to facilitate extensibility. 5 years ago
Mariano Cano dff498f17f Add tests for cloudkms. 5 years ago
Mariano Cano a773977a81 Fix interface change. 5 years ago
Mariano Cano 927a3b3a86 Return crypto.PublicKey on kms.GetPublicKey. 5 years ago
Mariano Cano e60beeb7fc Make cloudkms more robust.
* Automatically create key rings if needed.
* User CryptoKeyVersions if needed.
* Add support to close the client.
* Add new pareters to CreateKey responses to make things easier.
5 years ago
Mariano Cano d13754166a Add support for cloudkms and softkms. 5 years ago