基本操作
1、列出系统中已有的密钥
gpg --list-keys
2、导入密钥
gpg --import filepath
3、加密
gpg -r TOM\&JERR [-r JACK] -o testgpg.en.txt -e testgpg.txt继续阅读“GPG 命令简明教程”

xuenhua’s 站点
1、列出系统中已有的密钥
gpg --list-keys
2、导入密钥
gpg --import filepath
3、加密
gpg -r TOM\&JERR [-r JACK] -o testgpg.en.txt -e testgpg.txt继续阅读“GPG 命令简明教程”
$ git clone https://github.com/ywdblog/certbot-letencrypt-wildcardcertificates-alydns-au $ cd certbot-letencrypt-wildcardcertificates-alydns-au $ chmod 0777 au.sh
certbot certonly -d *.abc.com -d abc.com --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory --manual-auth-hook "/path/certbot-alydns/au.sh python aly add" --manual-cleanup-hook "/path/certbot-alydns/au.sh python aly clean" --dry-run
Debug: 操作 DNS API 可能会遇到一系列问题,比如 API token 权限不足,遇到相关问题,可以查看 /var/log/certd.log。
继续阅读“Letencrypt泛域名自动续期”cd /home/username/.local/share/nautilus/scripts touch Menu1
刷新文件管理器,打开右键菜单,即会出现名为 脚本>Menu1的菜单
vi GPG-Encrypt
#!/bin/bash
gpg -u YOURUID -a --detach-sign "$@"
vi GPG-Encrypt继续阅读“Ubuntu添加GPG右键菜单”
#!/bin/bash
gpg -r 接收人证书名 -s -e "$@"
OpenKeychain helps you communicate more privately and securely. It uses encryption to ensure that your messages can be read only by the people you send them to, others can send you messages that only you can read, and these messages can be digitally signed so the people getting them are sure who sent them. OpenKeychain is based on the well established OpenPGP standard making encryption compatible across your devices and systems. For a list of compatible software for Windows, Mac OS, and other operating systems consult openpgp.org/software/.

LibreOffice 编译时依赖需要 graphite, 而graphite的编译又依赖pkg-config。但是不想使用homebrew或者 MacPorts,喜欢下载源码自己编译。pkg-config编译成功后,并且指定了环境变量。
然而make总是报checking for bogus pkg-config... configure: error: yes, from unknown origin. This *will* break the build. Please modify your PATH variable so that $PKG_CONFIG is no longer found by configure scripts.
排查configure.ac发现pkg-config 检查出错后,就退出了。pkg-config的作用主要是为了编译graphite,而graphite是一种“智能字体”系统,专门为处理世界上鲜为人知的语言的复杂性而开发。
然而,对于中文字体可能影响不大。试试忽略这部分功能。于是修改代码如下:
diff --git a/configure.ac b/configure.ac
index 99ccaf54f748..dbb727422dec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7099,7 +7099,8 @@ if test $_os = Darwin; then
if test -z "$($PKG_CONFIG --list-all |grep -v '^libpkgconf')" ; then
AC_MSG_RESULT([yes, accepted since no packages available in default searchpath])
else
- AC_MSG_ERROR([yes, from unknown origin. This *will* break the build. Please modify your PATH variable so that $PKG_CONFIG is no longer found by configure scripts.])
+ # AC_MSG_ERROR([yes, from unknown origin. This *will* break the build. Please modify your PATH variable so that $PKG_CONFIG is no longer found by configure scripts.])
+ echo here ;
fi
fi
fi
注掉后,执行make,果然成功了。
curl http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz -o pkg-config-0.29.2.tar.gz
tar -xf pkg-config-0.29.2.tar.gz cd pkg-config-0.29.2 ./configure --with-internal-glib make继续阅读“macOS pkg-config编译”