Crypto CLI
    Preparing search index...

    Function readSecretFile

    • Read a secret file, writing sharedModeWarning to stderr when other users can access it. The mode comes from the open file, not from a second lookup of the path.

      Parameters

      • file: string

        Path of the file.

      • io: CliIO

        The streams of the run.

      • platform: Platform

        process.platform.

      Returns Promise<NonSharedBuffer>