aphyr / less-awful-ssl Goto Github PK
View Code? Open in Web Editor NEWSssh no tears, only TLS now. For Clojure.
Sssh no tears, only TLS now. For Clojure.
I am a mere mortal humbled by the inner complexities of SSL. Do I have to specify the ca-cert-file as an input to ssl-context
? How to handle self-signed certificates?
I know this is a super-young project, but your readme and clojars release are out of sync because of the namespace change. It'd probably be good to do another release.
The type hint here prevents the use of a File
, which is what we'd get if we used (-> <name.p12> io/resource io/file)
.
Hello.
In less-awful-ssl is used code (SSLContext/getInstance "TLS") which return SSL not TLS connection under some circumstances. SSL is not secure anymore and TLS 1.1 is not enough.
Reason of this behaviour described here:
https://stackoverflow.com/questions/29841610/will-sslcontext-getinstancetls-supports-tls-v1-1-and-tls-v1-2-also
Can you make an update and put (SSLContext/getInstance "TLSv1.2")
Thanks.
Dude. Your name has multiple segments. Run with it.
(ns less.awful.css ..)
It would be possible to avoid the jaxb dependency using a similar approach outlined here: http-kit/http-kit#356
(defmacro base64-encode [bs]
(if (try (import 'javax.xml.bind.DatatypeConverter)
(catch ClassNotFoundException _))
`(javax.xml.bind.DatatypeConverter/printBase64Binary ~bs)
(do
(import 'java.util.Base64)
`(.encodeToString (java.util.Base64/getEncoder) ~bs))))
If you agree I'll prepare a PR.
Am I correct in understanding that this library doesn't support cert revocation?
Would it be possible to add a parameter to ssl-context
to specify a CRL file?
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.