mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-10 02:39:45 +02:00
Split message resources into separate per-command resource files.
Since picocli 4.7.0, subcommands inherit resources from their parent commands, so we can store shared stuff like error msgs etc. in the parent (sop) resources file. This enables us to rename the parent command downstream (e.g. in pgpainless-cli). Only the help command breaks when renaming the parent command. TODO: Fix
This commit is contained in:
parent
3801a644ef
commit
fa52df385e
39 changed files with 307 additions and 230 deletions
|
@ -2,9 +2,9 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
sop.name=sop
|
||||
sop.usage.header=Stateless OpenPGP Protocol
|
||||
|
||||
usage.header=Stateless OpenPGP Protocol
|
||||
usage.footerHeading=Powered by picocli%n
|
||||
|
||||
sop.locale=Locale for description texts
|
||||
# Generic
|
||||
usage.synopsisHeading=Usage:\u0020
|
||||
|
@ -30,93 +30,10 @@ usage.exitCodeList.15=69:Unsupported subcommand
|
|||
usage.exitCodeList.16=71:Unsupported special prefix (e.g. \"@env/@fd\") of indirect parameter
|
||||
usage.exitCodeList.17=73:Ambiguous input (a filename matching the designator already exists)
|
||||
usage.exitCodeList.18=79:Key is not signing capable
|
||||
# Subcommands
|
||||
sop.armor.usage.header=Add ASCII Armor to standard input
|
||||
sop.armor.usage.option.label=Label to be used in the header and tail of the armoring
|
||||
sop.dearmor.usage.header=Remove ASCII Armor from standard input
|
||||
sop.decrypt.usage.header=Decrypt a message from standard input
|
||||
sop.decrypt.usage.option.session_key_out=Can be used to learn the session key on successful decryption
|
||||
sop.decrypt.usage.option.with_session_key.0=Symmetric message key (session key).
|
||||
sop.decrypt.usage.option.with_session_key.1=Enables decryption of the "CIPHERTEXT" using the session key directly against the "SEIPD" packet.
|
||||
sop.decrypt.usage.option.with_session_key.2=Is an INDIRECT data type (e.g. file, environment variable, file descriptor...)
|
||||
sop.decrypt.usage.option.with_password.0=Symmetric passphrase to decrypt the message with.
|
||||
sop.decrypt.usage.option.with_password.1=Enables decryption based on any "SKESK" packets in the "CIPHERTEXT".
|
||||
sop.decrypt.usage.option.with_password_2=Is an INDIRECT data type (e.g. file, environment variable, file descriptor...)
|
||||
sop.decrypt.usage.option.verify_out=Emits signature verification status to the designated output
|
||||
sop.decrypt.usage.option.certs=Certificates for signature verification
|
||||
sop.decrypt.usage.option.not_before.0=ISO-8601 formatted UTC date (e.g. '2020-11-23T16:35Z)
|
||||
sop.decrypt.usage.option.not_before.1=Reject signatures with a creation date not in range.
|
||||
sop.decrypt.usage.option.not_before.2=Defaults to beginning of time ('-').
|
||||
sop.decrypt.usage.option.not_after.0=ISO-8601 formatted UTC date (e.g. '2020-11-23T16:35Z)
|
||||
sop.decrypt.usage.option.not_after.1=Reject signatures with a creation date not in range.
|
||||
sop.decrypt.usage.option.not_after.2=Defaults to current system time ('now').
|
||||
sop.decrypt.usage.option.not_after.3=Accepts special value '-' for end of time.
|
||||
sop.decrypt.usage.option.with_key_password.0=Passphrase to unlock the secret key(s).
|
||||
sop.decrypt.usage.option.with_key_password.1=Is an INDIRECT data type (e.g. file, environment variable, file descriptor...).
|
||||
sop.decrypt.usage.param.keys=Secret keys to attempt decryption with
|
||||
sop.encrypt.usage.header=Encrypt a message from standard input
|
||||
sop.encrypt.usage.option.armor=ASCII armor the output
|
||||
sop.encrypt.usage.option.type=Type of the input data. Defaults to 'binary'
|
||||
sop.encrypt.usage.option.with_password.0=Encrypt the message with a password.
|
||||
sop.encrypt.usage.option.with_password.1=Is an INDIRECT data type (e.g. file, environment variable, file descriptor...)
|
||||
sop.encrypt.usage.option.sign_with=Sign the output with a private key
|
||||
sop.encrypt.usage.option.with_key_password.0=Passphrase to unlock the secret key(s).
|
||||
sop.encrypt.usage.option.with_key_password.1=Is an INDIRECT data type (e.g. file, environment variable, file descriptor...).
|
||||
sop.encrypt.usage.param.certs=Certificates the message gets encrypted to
|
||||
sop.extract-cert.usage.header=Extract a public key certificate from a secret key from standard input
|
||||
sop.extract-cert.usage.option.armor=ASCII armor the output
|
||||
sop.generate-key.usage.header=Generate a secret key
|
||||
sop.generate-key.usage.option.armor=ASCII armor the output
|
||||
sop.generate-key.usage.option.user_id=User-ID, e.g. "Alice <alice@example.com>"
|
||||
sop.generate-key.usage.option.with_key_password.0=Password to protect the private key with
|
||||
sop.generate-key.usage.option.with_key_password.1=Is an INDIRECT data type (e.g. file, environment variable, file descriptor...).
|
||||
sop.inline-detach.usage.header=Split signatures from a clearsigned message
|
||||
sop.inline-detach.usage.option.armor=ASCII armor the output
|
||||
sop.inline-detach.usage.option.signatures_out=Destination to which a detached signatures block will be written
|
||||
sop.inline-sign.usage.header=Create an inline-signed message from data on standard input
|
||||
sop.inline-sign.usage.option.armor=ASCII armor the output
|
||||
sop.inline-sign.usage.option.as.0=Specify the signature format of the signed message
|
||||
sop.inline-sign.usage.option.as.1='text' and 'binary' will produce inline-signed messages.
|
||||
sop.inline-sign.usage.option.as.2='cleartextsigned' will make use of the cleartext signature framework.
|
||||
sop.inline-sign.usage.option.as.3=Defaults to 'binary'.
|
||||
sop.inline-sign.usage.option.as.4=If '--as=text' and the input data is not valid UTF-8, inline-sign fails with return code 53.
|
||||
sop.inline-sign.usage.option.with_key_password.0=Passphrase to unlock the secret key(s).
|
||||
sop.inline-sign.usage.option.with_key_password.1=Is an INDIRECT data type (e.g. file, environment variable, file descriptor...).
|
||||
sop.inline-sign.usage.option.micalg=Emits the digest algorithm used to the specified file in a way that can be used to populate the micalg parameter for the PGP/MIME Content-Type (RFC3156)
|
||||
sop.inline-sign.usage.parameter.keys=Secret keys used for signing
|
||||
sop.inline-verify.usage.header=Verify inline-signed data from standard input
|
||||
sop.inline-verify.usage.option.not_before.0=ISO-8601 formatted UTC date (e.g. '2020-11-23T16:35Z)
|
||||
sop.inline-verify.usage.option.not_before.1=Reject signatures with a creation date not in range.
|
||||
sop.inline-verify.usage.option.not_before.2=Defaults to beginning of time ("-").
|
||||
sop.inline-verify.usage.option.not_after.0=ISO-8601 formatted UTC date (e.g. '2020-11-23T16:35Z)
|
||||
sop.inline-verify.usage.option.not_after.1=Reject signatures with a creation date not in range.
|
||||
sop.inline-verify.usage.option.not_after.2=Defaults to current system time ("now").
|
||||
sop.inline-verify.usage.option.not_after.3=Accepts special value "-" for end of time.
|
||||
sop.inline-verify.usage.option.verifications_out=File to write details over successful verifications to
|
||||
sop.inline-verify.usage.parameter.certs=Public key certificates for signature verification
|
||||
sop.sign.usage.header=Create a detached signature on the data from standard input
|
||||
sop.sign.usage.option.armor=ASCII armor the output
|
||||
sop.sign.usage.option.as.0=Specify the output format of the signed message
|
||||
sop.sign.usage.option.as.1=Defaults to 'binary'.
|
||||
sop.sign.usage-option.as.2=If '--as=text' and the input data is not valid UTF-8, sign fails with return code 53.
|
||||
sop.sign.usage.option.with_key_password.0=Passphrase to unlock the secret key(s).
|
||||
sop.sign.usage.option.with_key_password.1=Is an INDIRECT data type (e.g. file, environment variable, file descriptor...).
|
||||
sop.sign.usage.option.micalg_out=Emits the digest algorithm used to the specified file in a way that can be used to populate the micalg parameter for the PGP/MIME Content-Type (RFC3156)
|
||||
sop.sign.usage.parameter.keys=Secret keys used for signing
|
||||
sop.verify.usage.header=Verify a detached signature over the data from standard input
|
||||
sop.verify.usage.option.not_before.0=ISO-8601 formatted UTC date (e.g. '2020-11-23T16:35Z)
|
||||
sop.verify.usage.option.not_before.1=Reject signatures with a creation date not in range.
|
||||
sop.verify.usage.option.not_before.2=Defaults to beginning of time ("-").
|
||||
sop.verify.usage.option.not_after.1=ISO-8601 formatted UTC date (e.g. '2020-11-23T16:35Z)
|
||||
sop.verify.usage.option.not_after.2=Reject signatures with a creation date not in range.
|
||||
sop.verify.usage.option.not_after.3=Defaults to current system time ("now").\
|
||||
sop.verify.usage.option.not_after.4 = Accepts special value "-" for end of time.
|
||||
sop.verify.usage.parameter.signature=Detached signature
|
||||
sop.verify.usage.parameter.certs=Public key certificates for signature verification
|
||||
sop.version.usage.header=Display version information about the tool
|
||||
sop.version.usage.option.extended=Print an extended version string
|
||||
sop.version.usage.option.backend=Print information about the cryptographic backend
|
||||
sop.help.usage.header=Display usage information for the specified subcommand
|
||||
|
||||
help.usage.header=Display usage information for the specified subcommand
|
||||
|
||||
## SHARED RESOURCES
|
||||
## Malformed Input
|
||||
sop.error.input.malformed_session_key=Session keys are expected in the format 'ALGONUM:HEXKEY'.
|
||||
sop.error.input.not_a_private_key=Input '%s' does not contain an OpenPGP private key.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue