-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathOne-Tax-API-hare.html
162 lines (128 loc) · 5.57 KB
/
One-Tax-API-hare.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html>
<head>
<title>IETF Hackathon - One Tax API </title>
<meta charset="utf-8">
<style>
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
div.left-column { width: 49%; float: left; }
div.right-column { width: 49%; float: right; }
div.right-column ~ p { clear: both; }
div.right-column ~ ul { clear: both; }
div.my-footer {
border-top: 1px solid #ccc;
font-size: 10pt;
text-align: center;
position: fixed;
bottom: 0px;
left: 0px;
height: 30px;
width: 100%;
}
div.my-footer p {
margin-top: 10px;
height: 30px;
}
body { font-family: 'Droid Serif'; }
h1, h2, h3 {
font-family: 'Yanone Kaffeesatz';
font-weight: normal;
}
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }
</style>
</head>
<body>
<textarea id="source">
class: center, middle
# One Tax API
IETF 114
23-24 July 2022
Philadelphia, Pennsylvania
---
# Hackathon Plan
- What drafts/RFC's were involved?
- [Hare issues](https://todo.sr.ht/~sircmpwn/hare/178)
- HKDF [RFC 5869](https://datatracker.ietf.org/doc/html/rfc5869)
- AES-GCM [RFC 8452](https://datatracker.ietf.org/doc/html/rfc8452)?
- EdDSA [RFC 7748](https://datatracker.ietf.org/doc/html/rfc7748) and [RFC 8032](https://datatracker.ietf.org/doc/html/rfc8032)
- Specific Problems
- Implement encryption protocols in [Hare](https://harelang.org)
<div class="my-footer"><p>IETF Hackathon - One Tax API </p></div>
---
# What got done
- Ideas:
- Implement Ristretto in Hare, [currently in last call](https://datatracker.ietf.org/doc/draft-irtf-cfrg-ristretto255-decaf448/03/)
- Implement AES-GCM-SIV, [RFC-8452](https://datatracker.ietf.org/doc/html/rfc8452) in Hare
- New code:
- Start adding Ed25519 [conformance tests](https://git.sr.ht/~bvkcm/hare/tree/ed25519_conformance/item/crypto/ed25519/%2Btest.ha) to Hare
<div class="my-footer"><p>IETF Hackathon - One Tax API </p></div>
---
#### Conformance Test Results
|Library | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10| 11|
|--- |---|---|---|---|---|---|---|---|---|---|---|---|
|ed25519-hare | X | V | V | V | X | X | V | V | X | X | X | V |
|BoringSSL | V | V | V | V | X | X | X | X | X | X | X | V |
|BouncyCastle | V | V | V | V | X | X | X | X | X | X | X | X |
|CryptoKit | V | V | V | V | X | X | X | X | X | X | X | V |
|Dalek | V | V | V | V | X | X | X | X | X | X | X | V |
|Dalek strict | X | X | X | V | X | X | X | X | X | X | X | X |
|ed25519-donna | V | V | V | V | X | X | V | X | X | X | X | V |
|ed25519-java | V | V | V | V | X | X | V | V | X | X | V | X |
|Go | V | V | V | V | X | X | X | X | X | X | X | V |
|libra-crypto | X | X | X | V | X | X | X | X | X | X | X | X |
|LibSodium | X | X | X | V | X | X | X | X | X | X | X | X |
|npm | V | V | V | V | X | X | X | X | X | X | X | V |
|OpenSSL-3.0 | V | V | V | V | X | X | X | X | X | X | X | V |
|PyCA | V | V | V | V | X | X | X | X | X | X | X | V |
|python-ed25519 | V | V | V | V | X | X | V | V | X | X | X | V |
|ref10 | V | V | V | V | X | X | V | X | X | X | X | V |
|TweetNaCl-js | V | V | V | V | X | X | V | V | X | X | X | V |
|Zebra | V | V | V | V | V | V | X | X | X | V | V | V |
<div class="my-footer"><p>IETF Hackathon - One Tax API </p></div>
---
# What we learned
- Implemented in Hare
- [HKDF](https://git.sr.ht/~sircmpwn/hare/tree/master/item/crypto/hkdf)
- [Ed25519](https://git.sr.ht/~sircmpwn/hare/tree/master/item/crypto/ed25519)
- [Curve 25519](https://git.sr.ht/~sircmpwn/hare/tree/master/item/crypto/curve25519)
- Several AES-GCM ciphers
- [AES-GCM](https://git.sr.ht/~sircmpwn/hare/tree/master/item/crypto/aes) implemented
- AES-GCM-SIV not yet implemented in Hare, example implementations
- [Rust](https://docs.rs/aes-gcm-siv/latest/aes_gcm_siv/)
- [C](https://github.com/Project-Opensource/AES-GCM-SIV)
- [Soatak](https://soatok.blog/2020/07/12/comparison-of-symmetric-encryption-methods/) summarizes that AES-GCM is faster than AES-GCM-SIV but less secure
- Issues with existing drafts/RFCs
- [Chalkias, Garillot and Nikolaenko](https://eprint.iacr.org/2020/1244) suggest improvements to RFC 8032 to enable use in contract sigining, electronic voting and transactions
- [Henry De Valence](https://zips.z.cash/zip-0215) suggests standardizing signature [validity rules](https://hdevalence.ca/blog/2020-10-04-its-25519am) for Ed25519
- Chalkias, Garillo and Nikolaenko's test vectors should be added to those specified in RFC 8032
<div class="my-footer"><p>IETF Hackathon - One Tax API </p></div>
---
# Wrap up
---
.left-column[
#### Team members:
- Benson Muite
]
.right-column[
#### Other links:
- [noble-ed25519](https://github.com/paulmillr/noble-ed25519)
]
.left-column[
#### First timers @ IETF/Hackathon:
-
]
.right-column[
#### Notes and contacts:
- benson_muite at emailplus dot org
]
<div class="my-footer"><p>IETF Hackathon - One Tax API </p></div>
</textarea>
<script src="https://remarkjs.com/downloads/remark-latest.min.js">
</script>
<script>
var slideshow = remark.create();
</script>
</body>
</html>