Skip to content

Encrypted siafile convert

Matthew Sevey requested to merge sevey/convert-encrtyped into master

MERGE REQUEST

MR Guidelines

Overview

Currently the code does not support encrtyped siafile conversion and causes a panic due to a nil skykey.

This code adds protection against that panic since to enable encrypted siafile conversion would require additional changes to how the layout is structured to allow for both a siakey and a skykey, or to enable encrypting the basesector with a siakey.

Example for Visual Changes

Panic in test https://gitlab.com/NebulousLabs/Sia/-/jobs/921613814

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 Matthew Sevey

Merge request reports