ItsDangerous Documentation (1.1.x) Release 1.1.0
ItsDangerous Documentation (1.1.x) Release 1.1.0 Pallets Oct 20, 2022 CONTENTS 1 Installing 3 2 Example Use Cases 5 3 Table of Contents 7 3.1 Signing Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Python Module Index 21 Index 23 i ii ItsDangerous Documentation (1.1.x), Release 1.1.0 Sometimes you just want to send some data to untrusted environments have your secret key. So if you keep the key secret and complex, you will be fine. Internally ItsDangerous uses HMAC and SHA-512 for signing by default. The initial implementation was inspired by Django’s0 码力 | 28 页 | 178.96 KB | 1 年前3The Dangerous Flask Hsiaoming Yang
The dangerous Flask Let's talk about itsdangerous About Me 0 https://github.com/lepture https://lepture.com/about The Pallets Projects https://typlog.com/ https://authlib.org/ Session 1 app timestamp, secret) Signature • SHA1, SHA256, SHA384, SHA512 • HMAC with SHA • base64 DEMO itsdangerous 3 History • Flask 0.10: Changed default cookie serialization format from pickle to JSON to the impact an attacker can do if the secret key leaks. • Flask 0.10: add itsdangerous to dependencies WHAT IS itsdangerous e.g. session koajs expressjs Cookie: session=xxx Cookie: session.sig=xxx0 码力 | 38 页 | 2.75 MB | 1 年前3Flask Documentation (1.1.x)
with Jinja. It escapes untrusted input when rendering templates to avoid injection attacks. • ItsDangerous securely signs data to ensure its integrity. This is used to protect Flask’s session cookie. ---------------------------------- click 6.7 Flask 1.0 flaskr 1.0.0 /home/user/Projects/flask-tutorial itsdangerous 0.24 Jinja2 2.10 MarkupSafe 1.0 pip 9.0.3 setuptools 39.0.1 Werkzeug 0.14.1 wheel 0.30.0 Nothing Flask can do, then dive into the docs to keep learning. Flask uses Jinja, Click, Werkzeug, and ItsDangerous behind the scenes, and they all have their own documentation too. You’ll also be interested in0 码力 | 291 页 | 1.25 MB | 1 年前308 Pipenv和Python包管理 明希
BOOM! requirements.txt 呢? Flask requests • 抽象依赖 • 开发环境使用 • 倾向使用最新版本 • 方便变更 Flask==1.0.2 itsdangerous==1.1.0 Click==7.0 Jinja2==2.10.3 MarkupSafe==1.1.1 werkzeug==0.16.0 requests==2.22.0 idna==2.80 码力 | 24 页 | 1.24 MB | 1 年前3
共 4 条
- 1