Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudflare/odoh-go
Oblivious DoH library in Go
https://github.com/cloudflare/odoh-go
Last synced: about 1 month ago
JSON representation
Oblivious DoH library in Go
- Host: GitHub
- URL: https://github.com/cloudflare/odoh-go
- Owner: cloudflare
- License: mit
- Archived: true
- Created: 2020-10-20T13:48:47.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T11:40:51.000Z (about 1 year ago)
- Last Synced: 2024-08-02T20:47:29.985Z (4 months ago)
- Language: Go
- Homepage:
- Size: 176 KB
- Stars: 143
- Watchers: 16
- Forks: 16
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
- my-awesome - cloudflare/odoh-go - 09 star:0.1k fork:0.0k Oblivious DoH library in Go (Go)
README
# odoh-go
[![Coverage Status](https://coveralls.io/repos/github/cloudflare/odoh-go/badge.svg?branch=master)](https://coveralls.io/github/cloudflare/odoh-go?branch=master)
[![GoDoc](https://godoc.org/github.com/cloudflare/odoh-go?status.svg)](https://godoc.org/github.com/cloudflare/odoh-go)This library implements version 0x0001 of [Oblivious DoH](https://tfpauly.github.io/draft-pauly-adaptive-dns-privacy/draft-pauly-dprive-oblivious-doh.html). It is based on the original implementation [available here](https://github.com/chris-wood/odoh).
![protocol overview](odoh-flow.png)
## Test vector generation
To generate test vectors, run:
```
$ ODOH_TEST_VECTORS_OUT=test-vectors.json go test -v -run TestVectorGenerate
```To check test vectors, run:
```
$ ODOH_TEST_VECTORS_IN=test-vectors.json go test -v -run TestVectorVerify
```