i use gpg crypt but i want to crypt/decrypt files with pipe the content of the .gpg file or as input > filename
per default following syntax gpg --output doc --decrypt doc.gpg
the file doc.gpg must be exists ,decrypted file is doc after decrypt.
i want to decrypt only the doc.gpg content (with cat or pipe) without given a filename,but there are no options available.
next i want to crypt like so
gpg --crypt "this text is secure" --output doc.gpg
is there any option to crypt and decrypt without source input as file ?