Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/briansmith/webpki
WebPKI X.509 Certificate Validation in Rust
https://github.com/briansmith/webpki
certificate pkix rust webpki x509
Last synced: 7 days ago
JSON representation
WebPKI X.509 Certificate Validation in Rust
- Host: GitHub
- URL: https://github.com/briansmith/webpki
- Owner: briansmith
- License: other
- Created: 2015-08-27T08:03:31.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-02-18T22:49:16.000Z (10 months ago)
- Last Synced: 2024-11-28T13:03:47.741Z (14 days ago)
- Topics: certificate, pkix, rust, webpki, x509
- Language: Rust
- Homepage: https://briansmith.org/rustdoc/webpki/
- Size: 665 KB
- Stars: 464
- Watchers: 21
- Forks: 165
- Open Issues: 110
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rust-cn - briansmith/webpki - ci.org/briansmith/webpki.svg?branch=master">](https://travis-ci.org/briansmith/webpki) (Libraries / Cryptography)
- awesome-rust - briansmith/webpki - ci.org/briansmith/webpki.svg?branch=master">](https://travis-ci.org/briansmith/webpki) (Libraries / Cryptography)
- awesome-rust - briansmith/webpki
- awesome-rust-cn - briansmith/webpki
- awesome-rust-zh - briansmith/webpki - Rust 中的 Web PKI TLS X.509 证书验证。[<img src="https://api.travis-ci.org/briansmith/webpki.svg?branch=master">](https://travis-ci.org/briansmith/webpki) (库 / 加密)
- awesome-rust - briansmith/webpki - Web PKI TLS X.509 certificate validation. (Libraries / Cryptography)
- awesome-rust - briansmith/webpki - ci.org/briansmith/webpki.svg?branch=master">](https://travis-ci.org/briansmith/webpki) (库 Libraries / 密码学 Cryptography)
- fucking-awesome-rust - briansmith/webpki - Web PKI TLS X.509 certificate validation. (Libraries / Cryptography)
- fucking-awesome-rust - briansmith/webpki - Web PKI TLS X.509 certificate validation. (Libraries / Cryptography)
README
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.What is webpki?
==================webpki is a library that validates Web PKI (TLS/SSL) certificates. webpki
is designed to provide a **full** implementation of the client side of the
**Web PKI** to a diverse range of applications and devices,
including embedded (IoT) applications, mobile apps, desktop applications, and
server infrastructure. webpki is intended to not only be the best
implementation of the Web PKI, but to also *precisely define* what the Web PKI
is.webpki is written in [Rust](https://www.rust-lang.org/) and uses
[*ring*](https://github.com/briansmith/ring) for signature verification.webpki is strongly influenced by
[mozilla::pkix](https://github.com/briansmith/mozillapkix). You can read a
little about the ideas underlying both mozilla::pkix and webpki in
[insanity::pkix: A New Certificate Path Building & Validation
Library](https://briansmith.org/insanity-pkix).The Rust compiler statically guarantees there are no buffer overflows,
uses-after-free, double-frees, data races, etc. in webpki. webpki takes
advantage of Rust's borrow checker to ensure that its **zero-copy parsing**
strategy is safe and efficient. webpki *never* allocates memory on the heap,
and it maintains a tight bound on the amount of stack memory it uses. webpki
avoids all superfluous PKIX features in order to keep its object code size
small. Further reducing the code size of webpki is an important goal.This release is the very first prototype. Lots of improvements are planned,
including:* An extensive automated test suite.
* Key pinning.
* Certificate Transparency support.
* Short-lived certificate, OCSP stapling, and CRLSet support.
* Customization of the supported algorithms, key sizes, and elliptic curves
allowed during a validation.
* A C language wrapper interface to allow using webpki in non-Rust
applications.
* A specification of precisely what the Web PKI is.Demo
====See https://github.com/ctz/rustls#example-code for an example of using
webpki.License
=======See [LICENSE](LICENSE). This project happily accepts pull requests without any
formal copyright/contributor license agreement. Pull requests must explicitly
indicate who owns the copyright to the code being contributed and that the code
is being licensed under the same terms as the existing webpki code.Bug Reporting
=============Please report bugs either as pull requests or as issues in [the issue
tracker](https://github.com/briansmith/webpki/issues). webpki has a
**full disclosure** vulnerability policy. **Please do NOT attempt to report
any security vulnerability in this code privately to anybody.**