GnuPG。文件大小限制?

5 encryption gnupg

使用 GnuPG(1.0.xx,2.0.xx,2.1.xx) 加密单个文件是否有文件大小限制?
文件大小范围从大约 2GiB 到 100GiB。我并不担心 2GiB,但我不确定加密单个 100GiB 文件是否是个好主意。如果我这样做会遇到问题吗?或者加密如此大的文件是否完全安全?我检查了https://gnupg.org/
上的常见问题解答,只找到了一篇涉及不同密码的文件大小限制的文章,但如果程序本身存在限制则没有。以下是具体部分的链接: https://gnupg.org/faq/gnupg-faq.html#recommended_ciphers

亲切的问候

Dav*_*ill 1

如果我这样做会遇到问题吗?或者加密如此大的文件是否完全安全?

文件大小限制取决于操作系统。

--max-output n
                 This option sets a limit on the number of bytes that will  be
                 generated  when  processing  a  file.  Since OpenPGP supports
                 various levels of compression, it is possible that the plain-
                 text  of a given message may be significantly larger than the
                 original OpenPGP message.  While GnuPG  works  properly  with
                 such  messages, there is often a desire to set a maximum file
                 size that will be generated before processing  is  forced  to
                 stop  by  the  OS  limits.   Defaults  to  0, which means "no
                 limit".
Run Code Online (Sandbox Code Playgroud)

GPG