readHubStateSecret function

String? readHubStateSecret(
  1. File file
)

Reads just the master secret from a hub state file; a missing or invalid file counts as "no password".

Implementation

String? readHubStateSecret(File file) => readHubState(file).masterSecret;