User Password (-PW)

Use the User Password adapter command (-PW) to specify the password, also called passphrase, of the user whose private key needs to be accessed.

A password is required when signing or decrypting a message. It is also required when encrypting a message with a symmetric cipher (-ENCTYPE SYMMETRIC).

In these scenarios, the -PW adapter command is required. The -PW adapter command value is passed to the GnuPG executable through the command pipe. See "Pipes" for more information.


-PW password

Where password is the password of the local user specified in the -U adapter command, or the default user, if -U is not specified.