PGP-Chat
在 GitHub 下载并验证签名!
PGP-Chat 使用 PGP 对聊天消息进行加密。

注意事项
对于受密码保护的 PGP 密钥,你必须安装 GUI Pinentry。
当你安装了 No Chat Reports 时,解密在单人游戏中无法
工作,但在多人游戏中仍然有效。
使用方法
要求: 必须已安装 GPG,并导入了所有你想要向其发送加密消息的人的密钥。
发送加密消息:
在任何聊天消息前加上 enc: 即可在发送前对其进行加密:
enc:你好,这是一条加密消息。
配置
配置文件位于实例根目录下的 config/PGP-Chat/config.txt
未配置时,其内容如下:
# 接收者 PGP 密钥的指纹、邮箱或密钥 ID(必须存在于 gpg 密钥环中),你可以添加更多的 recipient: 行以添加更多接收者
recipient:
# GPG 的路径,如果你的 GPG 位于标准路径,你可能不需要在此处填写任何内容
gpg-path:
要发送加密消息,你必须在配置文件中放入接收者的密钥信息,而想要向你发送加密消息的玩家也必须执行相同的操作。
依赖项
Fabric API
GPG
许可证
本模组遵循 GPL-3.0 许可证提供。欢迎学习并在你自己的项目中将其整合使用。
PGP-Chat
Download on GitHub and verify the signature!
PGP-Chat encrypts chat messages with PGP.

Advisories
You must have GUI Pinentry for password protected PGP keys.
When you have No Chat Reports installed decryption doesn't
work in singleplayer, but still works in multiplayer.
Usage
Requirement: GPG must be installed, with the keys of anyone you want to send encrypted messages to, imported.
Sending encrypted messages:
Prefix any chat message with enc: to encrypt it before sending:
enc:Hello, this is an encrypted message.
Configuration
The config file is available, from your instance's root folder, at config/PGP-Chat/config.txt
Unconfigured, it looks like this:
# The fingerprint, email, or key id of your message's recipient's pgp key (must be in gpg keyring), you can add more recipient: lines to add more recipients
recipient:
# The path to gpg, you probably don't need to put anything here if your gpg is at a standard path
gpg-path:
To send an encrypted message you have to put recipient key info in the config and a player wanting to send an
encrypted message to you must do the same.
Dependencies
Fabric API
GPG
License
This mod is available under the GPL-3.0 license. Feel free to learn from it and incorporate it in your own projects.
评论 0
登录后参与评分
还没有评论,来抢沙发吧