stalkr / misc Goto Github PK
View Code? Open in Web Editor NEWLittle bit of this, little bit of that
License: Apache License 2.0
Little bit of this, little bit of that
License: Apache License 2.0
Would be nice if you could port crypto/http_pins.py
to Python3. Unfortunately I don't have an experience to fix non-trivial issues:
# python3 http_pins.py server.pem
server.pem:
Traceback (most recent call last):
File "http_pins.py", line 97, in <module>
main(sys.argv)
File "http_pins.py", line 85, in main
spki = extract_spki(cert)
File "http_pins.py", line 30, in extract_spki
out = proc.communicate()[0].strip().split('\n')
TypeError: a bytes-like object is required, not 'str'
crypto/http_pins.py doesn't surround pins by double quotes whereas it should
crypto/http_pins.py should generate at least two pins no matter what... even if the second one is based on invalid data; otherwise implementations following the RFC will disregard the pins.
Additionally, the second pin has to be non-related to the current trust chain (ie: you can't pin the end-certificate and the intermediary CA as both are used in the current trust chain)
chrome://net-internals#hsts is a good way of seeing what's working and what's not
Hi,
Any chance of you making this client + server MIT licensed? Or perhaps BOOST licensed?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.