bat-go
bat-go copied to clipboard
Download Secrets File After Shares are Ready
Right now, we download the secrets file before fetching shares. This means that decryption will always fail in cases where we are creating a new vault if the steps are:
- Boot
- Generate new vault
- Bootstrap
Instead, only fetch the secrets file once sufficient shares are fetched to decrypt it.