Huabing Blog

路在脚下,心向远方

微服务安全沉思录之一

用户访问认证与鉴权

这段时间对之前微服务安全相关的一些想法进行了进一步总结和归纳,理清在之前文章里面没有想得太清楚的地方,例如服务间的认证与鉴权以及用户身份在服务调用链中的传递。在这一系列博客里面将分为三个部分对微服务安全进行系统阐述:用户访问认证与鉴权,服务间认证与鉴权,外部系统访问控制。

Istio Sidecar自动注入原理

Kubernetes webhook扩展机制解析

Kubernets 1.9版本引入了Admission Webhook(web 回调)扩展机制,通过Webhook,开发者可以非常灵活地对Kubernets API Server的功能进行扩展,在API Server创建资源时对资源进行验证或者修改。 Istio 0.7版本就利用了Kubernets webhook实现了sidecar的自动注入。

Programming Assignment: Scrooge Coin

Bitcoin and Cryptocurrency Technologies-Week 1

Finally, I got to the most exciting part of week 1 lectures-the programming assignment!

Digital Signature and Public Key as Identities

Bitcoin and Cryptocurrency Technologies-Week 1

Some fundamental cryptographic technologies in Bitcoin: Asymmetic encryption(Public/Private key), Digital Signature, Digital Identity(Public key and Digital Certificate).

Hash Pointers and Data Structures

Bitcoin and Cryptocurrency Technologies-Week 1

Hash pointer is used to bulid some key data structures in cryptocurrency, such as Block chain and Merkel tree.

Cryptographic Hash Function

Bitcoin and Cryptocurrency Technologies-Week 1

Hash function can produce a fixed lenght digest of any size of data, and the original data can not be found out if it's properly used.

Introduction to crypto and cryptocurrencies

Bitcoin and Cryptocurrency Technologies-Week 1

I have noticed the buzzwords “Bitcoin” and “Blockchain” for a while. There are lots of articles, news, and talks around them. It seems that many people believe that cryptocurrency is the future of online payment, some even claim that blockchain would become the fundamental technology of the next generation of the Internet.

川西秘境探险

2018五一甘堡藏寨,九龙湖自驾游记

五一节前的一周内,几个朋友就纷纷坐不住了,一个二个不再安心上班,开始在微信群里讨论过节要到哪里耍。 大家思来想去,最后决定还是去理县方向。因为根据多年自驾的经验,只要出了汶川,沿途都是风景。

Helm介绍

强大的Kubernetes包管理工具

Helm是Kubernetes生态系统中的一个软件包管理工具。本文将介绍为何要使用Helm进行Kubernetes软件包管理,澄清Helm中使用到的相关概念,并通过一个具体的示例学习如何使用Helm打包,分发,安装,升级及回退Kubernetes应用。

Service Mesh 和 API Gateway的关系探讨(译文)

API Gateway和Service Mesh的关系是我最近一直在思考的问题,也和同事及社区的朋友之间进行了一些讨论。这篇短文很清晰地总结了两者之间的相似之处以及这两者在微服务架构中的不同用途。