Giter VIP home page Giter VIP logo

free_tls_certificates's People

Contributors

joshdata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

free_tls_certificates's Issues

Handle all exceptions

There are a lot of ways an exception might be thrown. For instance, the library isn't checking that an existing ACME registration is valid. How should we handle all of these cases?

Documentation

Not everything is documented yet (I'll do that). Once the documentation is begun, let's make sure it's clear and complete.

Package for PyPi

I'm really bad at packaging, so if anyone knows how to do this best....

Python 2.7 support

Adding Python 2.7 support is extremely easy, why not doing it? As far as i tested it, only two things are needed:

  • change 'print' syntax based on Python version
  • domain names for issue_certificate function in Python 2.7 must be provided in unicode ([u'domain1', u'domain2', ...]) so only example code must be changed

Exception 'NoneType' object has no attribute 'detail'

In case when there is no error property in ChallengeBody we have a
message = '; '.join(c.error.detail for c in challg.challenges if c.status.name == "invalid") AttributeError: 'NoneType' object has no attribute 'detail'
So we need read uri instead.
And then we will have error like this
The HTTP Validation challenge for daridana.ru failed: https://acme-v01.api.letsencrypt.org/acme/challenge/blablabla; "*****.com" was considered an unsafe domain by a third-party API.

Unit tests

I'm not sure how best to test a library like this. Maybe making a stub ACME server? Deploying a local Boulder instance?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.