用于签名http请求的python库。
generic-request-signer的Python项目详细描述
我是一个简单的实用程序,可以在给定私钥的情况下对http请求进行签名
运行python测试
- pip install-r requirements/test.txt
- 鼻测试
使用烧瓶运行示例
- pip install-r requirements/example.txt
- python app.py
- 打开浏览器并指向http://localhost:5000/
在调用上面的get请求之后,您应该会在终端中看到一个请求
获取/验证?_客户机id=example&;username=foo&;password=bar&;uu signature=somestrangestuffhere
这显示了正在运行的客户机,但此时我们的示例并不能真正验证已签名的请求