Comments (10)
有私钥
感谢提醒!
这里是用了一种管理敏感信息的模式 —— secrets 目录中的内容是用 git-crypt 来管理的:
- git-crypt 可以保证在提交「secrets 目录中的内容」时,会将其中的内容使用「git-crypt key」加密
- 「git-crypt key」是用个人的 GPG 公钥加密过的(只能使用个人的 GPG 私钥解密),被存储在 .git-crypt 目录里
这样就构建起了个加密链:GPG 私钥 -> git-crypt key -> secrets/目录中的内容
好处是:
- 跟项目强相关的内容不需要分离保存(这里用了高内聚的**,降低后续使用的成本)
- 个人只需要保存 GPG 密钥,记录 GPG 密钥的 passphrase(因为,加密链的起点是 GPG 私钥)
因为 GPG 足够安全,所以加密后 git-crypt key、secrets/目录中的内容即使公开也没有关系。
题外话:链接的文章里也提到了密码管理。个人比较偏好 https://www.passwordstore.org/ ,因为它也是用 GPG 密钥对做为加密起点的。一切归于 GPG~
如果完全信任 GPG,GPG 加密过的内容甚至可以公开,比如王子亭在做的。
了解更多:
from chenyukang.github.io.
这样就构建起了个加密链:GPG 私钥 -> git-crypt key -> secrets/目录中的内容
感谢分享,这也是种思路。
总之,总有私钥需要保密 😁
from chenyukang.github.io.
哈哈,多年双拼使用者路过,这里推荐一些双拼输入法,除了搜狗、百度这些有双拼方案外,如果担心数据安全之类的问题,移动端推荐用 gboard,Linux 桌面推荐用 fcitx
from chenyukang.github.io.
哈哈,多年双拼使用者路过,这里推荐一些双拼输入法,除了搜狗、百度这些有双拼方案外,如果担心数据安全之类的问题,移动端推荐用 gboard,Linux 桌面推荐用 fcitx
移动端如果使用双拼是不是不适合用九宫格了?
from chenyukang.github.io.
哈哈,多年双拼使用者路过,这里推荐一些双拼输入法,除了搜狗、百度这些有双拼方案外,如果担心数据安全之类的问题,移动端推荐用 gboard,Linux 桌面推荐用 fcitx
移动端如果使用双拼是不是不适合用九宫格了?
- 通过将汉语拼音中每个含多个字母的声母或韵母各自映射到某个按键上,使得每个音都可以用两个按键打出,极大地提高了拼音输入法的输入速度。
移动端的话还是更建议根据手机屏幕大小选择输入法,当然在双拼熟悉期还是尽量的去强迫自己用双拼。顺带问一下yukang老师你打算使用哪种双拼
from chenyukang.github.io.
@CykaOWO 我在使用小鹤双拼
手机上以前习惯九宫格,为了练习双拼也跟着换成了全键盘,还在习惯中。
from chenyukang.github.io.
@CykaOWO 我在使用小鹤双拼 手机上以前习惯九宫格,为了练习双拼也跟着换成了全键盘,还在习惯中。
同样是小鹤,我之前用的也是全键盘,所以在手机上就不用再适应新的拇指移动。
from chenyukang.github.io.
哈哈,多年双拼使用者路过,这里推荐一些双拼输入法,除了搜狗、百度这些有双拼方案外,如果担心数据安全之类的问题,移动端推荐用 gboard,Linux 桌面推荐用 fcitx
移动端如果使用双拼是不是不适合用九宫格了?
是的,移动端就要换成为全键盘了,习惯后效率还是很高的
from chenyukang.github.io.
管理 dotfiles 算是类 UNIX 遗风了,哈哈。
我也一直在用类似的方式管理自己的配置,https://github.com/c4710n/macos-x-nix
from chenyukang.github.io.
管理 dotfiles 算是类 UNIX 遗风了,哈哈。
我也一直在用类似的方式管理自己的配置,https://github.com/c4710n/macos-x-nix
很棒!
友善提醒,有私钥,哈哈,应该是不用的吧。
https://github.com/c4710n/macos-x-nix/tree/master/secrets
from chenyukang.github.io.
Related Issues (20)
- p/chatgpt-tools/ HOT 8
- p/redis-antriez/ HOT 6
- p/new-journey/ HOT 14
- p/new_english_tools/ HOT 9
- p/upgrade-my-dev-tools/ HOT 20
- p/workingtime/ HOT 1
- p/rust-foundation-fellows/ HOT 1
- p/out-of-the-gobi/ HOT 5
- p/obsidian-andriod-client-sync-git/ HOT 8
- p/remote-work/ HOT 1
- p/weekly-11/ HOT 1
- p/improve-english-writing-as-progammer/ HOT 1
- p/why-open-source/ HOT 1
- p/2023-summary/ HOT 13
- p/copilot-for-programming/ HOT 3
- p/try-jekyll-git/ HOT 1
- p/sicp/ HOT 4
- p/diff/ HOT 9
- p/handy-sh-tools/ HOT 1
- p/xz-backdoor/ HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chenyukang.github.io.