Skip to content
View wilkice's full-sized avatar
😁
Focusing
😁
Focusing
Block or Report

Block or report wilkice

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
wilkice/README.md
{
    "name": "darcy",
    "city": "shenzhen"
}

Pinned

  1. [如何在命令行安全的传递密码] #linux [如何在命令行安全的传递密码] #linux
    1
    # 如何在命令行安全的传递敏感信息
    2
    
                  
    3
    在编程的时候,有的时候我们会需要传递敏感信息,比如密码,API key 等。如果是把这些敏感信息写在代码中的话,那么可能会有泄露的可能。如果是单独用一个文件来存放这些敏感信息,那么也需要注意这个文件的安全性问题。有没有一种办法是最安全的呢?
    4
    
                  
    5
    答案是有的,就是使用环境变量。在一个会话里面设置的环境变量在别的会话里面是读取不到的,这样可以确保我们的敏感信息不会意外泄露。
  2. [go routine pool] #go [go routine pool] #go
    1
    // simple go routine pool
    2
    package main
    3
    
                  
    4
    import (
    5
    	"sync"