Skip to content

Update skykey format

Marcin Jachymiak requested to merge update-skykey-format into master

MERGE REQUEST

MR Guidelines

Overview

  • Split up skykeymanager and skykey code into 2 files
  • Update internal skykey format to use 1 type byte followed by 56 entropy bytes
  • String representation now uses a URI formatting: skykey:ARPZHZg_eZNlMuCe42N6ntad3gxV1W27XZxPSlw_kts9n_CzF4E4PN5AmOOr_PKybe2udkNUPOnP?name=example

Note that the keys are not yet re-written on disk in the new format. Newly added keys, however, are written using the new format.

Example for Visual Changes

I tested the update from v1.4.8 to this branch by adding statements that print the entire entropy slice. The key name and entropy doesn't change.

test

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods or updated methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to workflow
  • Issue added to Sia-UI repo for new supporting features
  • Changelog File Created

Issues Closed

Edited by Marcin Jachymiak

Merge request reports