Sooo the golang ChaCha20-Poly1305 is broken.

By design. It does not allow for the OpenSSH variant (https://github.com/golang/go/issues/36646).

So I'll need to split out that package (and their internal poly1305 package) and maintain an internal variant of it. Ugh.
This commit is contained in:
brent s. 2022-04-29 16:31:13 -04:00
parent 234de69be2
commit b38739f960
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
3 changed files with 11 additions and 1 deletions

View File

@ -734,7 +734,7 @@ pre.rouge {
<h1>OpenSSH Key Structure Guide</h1>
<div class="details">
<span id="author" class="author">brent saner &lt;bts@square-r00t.net&gt;, https://r00t2.io</span><br>
<span id="revdate">Last updated 2022-04-29 04:09:49 -0400</span>
<span id="revdate">Last updated 2022-04-29 16:31:13 -0400</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>

View File

@ -0,0 +1,5 @@
package poly1305
const (
Name string = "chacha20-poly1305@openssh.com"
)

View File

@ -0,0 +1,5 @@
package poly1305
type Cipher struct {
Key []byte
}