Calling GnuPG in Java via a Runtime Process to encrypt and decrypt files - Decrypt always hangs

前端 未结 7 1460
隐瞒了意图╮
隐瞒了意图╮ 2021-01-18 16:25

NOTE: Coming back to this later as I\'ve been unable to find a working solution. Draining the input streams manually instead of using BufferedReaders doesn

7条回答
  •  心在旅途
    2021-01-18 16:52

    Have you tried to run that command from command-line, not from Java code? There can be an issue with 'for your eyes only' option, when GnuPG will wait for console output.

提交回复
热议问题