## 这里介绍两种加密方法:Roundcubemail自带的PGP插件加密和第三方插件Mailvelope加密
### 一、Roundcubemail自带的PGP插件加密
#### 配置发件人的签名信息

#### 配置PGP密钥对

#### 设置PGP私钥密码

#### 生成了密钥对

#### 设置加密选项

#### 发送公钥给test01


#### test01收到公钥并添加到公钥(test01的密钥对的生成跟前面的test02操作一样)

#### test02\@unotes.co的公钥已经添加成功

#### test01使用test02的公钥加密发送邮件给test02(只有拥有该公钥所对应的私钥的用户才能解密)


#### test01需输入密码,对该邮件进行签名

#### test02收到了test01的加密邮件

#### 如果test02使用了没有私钥的客户端foxmail打开,是看不到加密邮件的真实内容

### 二、第三方插件Mailvelope加密
浏览器需要安装Mailvelope扩展插件

**firefox:**
`https://download.mailvelope.com/releases/latest/mailvelope.firefox.xpi`
**chrome:**
`https://chrome.google.com/webstore/detail/kajibbejlbohfaggdiogboambcijhkke`
#### 安装扩展完成,之后浏览器上会有个小锁图标

#### 这里测试chrome登录test01的邮箱,火狐登录test02的邮箱
#### 激活当前域名的开启Mailvelope


#### 添加成功后,发送邮件页面会多一个加密图标

#### 导入双方的公私钥
#### chrome的Mailvelope导入test01的私钥以及test02的公钥


#### firefox的Mailvelope导入test02的私钥以及test01的公钥

#### 测试test01给test02发送一份通过Mailvelope加密的邮件

#### test02收到加密的邮件,通过私钥自动解密

#### 如果test02使用了没有私钥的客户端foxmail打开,是看不到加密邮件的真实内容
