rscrypt-info(1)

NAME

rscrypt-info - provides information about the encryption parameters

SYNOPSIS

rscrypt info [OPTION]…​ FILE

DESCRIPTION

This command provides information about the encryption parameters. The result will be write to stdout.

POSITIONAL ARGUMENTS

FILE

Input file. If "-" is specified, data will be read from stdin.

OPTIONS

-j, --json

Output the encryption parameters as JSON.

-h, --help

Print help message. The short flag (-h) will print a condensed help message while the long flag (--help) will print a detailed help message.

-V, --version

Print version number. The long flag (--version) will also print the copyright notice, the license notice and where to report bugs.

EXIT STATUS

0

Successful program execution.

1

An error occurred.

2

An error occurred while parsing command-line arguments.

7

Data was not a valid scrypt-encrypted block.

8

The version was the unrecognized scrypt version number.

9

Decrypting files takes too much memory.

10

Decrypting files takes too much CPU time.

11

Passphrase is incorrect.

14

The scrypt parameters were invalid.

15

Decrypting files takes too much resources.

66

An input file did not exist or was not readable.

77

You did not have sufficient permission to perform the operation.

NOTES

Source repository:

https://github.com/sorairolake/scryptenc-rs

The scrypt key derivation function and encryption utility:

https://www.tarsnap.com/scrypt.html

EXAMPLES

Print the encryption parameters:

$ rscrypt info data.txt.scrypt

Print the encryption parameters as JSON:

$ rscrypt info -j data.txt.scrypt

Copyright © 2022-2024 Shun Sakai

  1. This program is distributed under the terms of the GNU General Public License v3.0 or later.

  2. This manual page is distributed under the terms of the Creative Commons Attribution 4.0 International Public License.

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

rscrypt(1), rscrypt-dec(1), rscrypt-enc(1), rscrypt-help(1), scrypt(1)