암호화와 암호 해독 용도로 gpg를 사용하고있었습니다.경고 메시지를 gnupg에 표시하지 않습니다.
for enc:
gpg --sign test
for dec:
gpg --decrypt test.gpg > test
하지만 난 경고 메시지 아래에 무엇입니까 : 내가 사용
명령은
gpg: Signature made Fri Jun 24 17:29:00 2016 UTC using RSA key ID XXXX
gpg: Good signature from "[email protected]>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
오프 물론 나는 인터넷 검색을 기반으로 --status-fd, --no-comment, --no-mdc-warning,--no-tty ,--no-verbose --quiet --batch, --no-greeting etc
으로 노력했다.
경고 메시지를 없애는 방법이 있습니까? 마지막 옵션으로
, 나는 How to hide command output in bash을 사용하고하지만 GPG에 경고 억제 할 수있는 쉬운 방법이 있어야한다고 생각합니다. 경고가 STDERR에 표시되는
우수합니다. 나는 비슷한 방식으로 잘못된 것을 시도했다. gpg --decrypt test.gpg 2>/dev/null> 테스트 하지만이 경우 파일을 덮어 쓰고있었습니다. 하지만 대답은 잘됩니다. 문제가 해결되었습니다. 고맙습니다. –
@ArunKuttiyaraVarghese 기쁜 마음으로 도와 드리겠습니다. :) – heemayl