You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to develop secure key management and storage capabilities for the Stacks blockchain provider. This includes implementing methods for creating, restoring, and importing keystores, as well as handling encryption and decryption of keystore data using our KMS.
Implement RestoreKeystore()
This method should:
Read the encrypted keystore file from the appropriate path
Decrypt the keystore data using the KMS
Read and decrypt the associated password file
Use the decrypted data to create a Stacks wallet object
We need to develop secure key management and storage capabilities for the Stacks blockchain provider. This includes implementing methods for creating, restoring, and importing keystores, as well as handling encryption and decryption of keystore data using our KMS.
Implement
RestoreKeystore()
This method should:
func (p *Provider) RestoreKeystore(ctx context.Context) error
Implement
NewKeystore()
This method should:
func (p *Provider) NewKeystore(password string) (string, error)
Implement
ImportKeystore()
This method should:
func (p *Provider) ImportKeystore(ctx context.Context, keyPath, passphrase string) (string, error)
Implement
keystorePath()
This method should return the appropriate file path for storing keystore files.
func (p *Provider) keystorePath(addr string) string
Implement
Init()
in the Stacksprovider.go
Acceptance Criteria
The text was updated successfully, but these errors were encountered: