chia-blockchain icon indicating copy to clipboard operation
chia-blockchain copied to clipboard

util: Introduce `get_key`/`get_keys` in `Keychain` + `KeychainServer`

Open xdustinface opened this issue 2 years ago • 3 comments

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 a KeyData entry based on a fingerprint
  • get_keys to fetch the KeyData 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

xdustinface avatar Aug 08 '22 13:08 xdustinface

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Aug 09 '22 23:08 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Aug 09 '22 23:08 github-actions[bot]

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] avatar Aug 10 '22 16:08 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Aug 15 '22 08:08 github-actions[bot]

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] avatar Aug 23 '22 10:08 github-actions[bot]