chia-blockchain
chia-blockchain copied to clipboard
util: Introduce `get_key`/`get_keys` in `Keychain` + `KeychainServer`
This is preparation for the key name support where in a follow up the key name gets added to KeyData
. Adds the two new methods:
-
get_key
to fetch aKeyData
entry based on a fingerprint -
get_keys
to fetch theKeyData
entries of all keys in the keychain.
There is a parameter include_secrets
(defaults to false) in the related methods and the server requests which allows to hide/show the secrets.
Based on:
- #12772
- #12752
This pull request has conflicts, please resolve those before we can evaluate the pull request.
This pull request has conflicts, please resolve those before we can evaluate the pull request.
Conflicts have been resolved. A maintainer will review the pull request shortly.
This pull request has conflicts, please resolve those before we can evaluate the pull request.
Conflicts have been resolved. A maintainer will review the pull request shortly.