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:
parent
234de69be2
commit
b38739f960
@ -734,7 +734,7 @@ pre.rouge {
|
||||
<h1>OpenSSH Key Structure Guide</h1>
|
||||
<div class="details">
|
||||
<span id="author" class="author">brent saner <bts@square-r00t.net>, 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>
|
||||
|
5
cipher/chacha20/poly1305/consts.go
Normal file
5
cipher/chacha20/poly1305/consts.go
Normal file
@ -0,0 +1,5 @@
|
||||
package poly1305
|
||||
|
||||
const (
|
||||
Name string = "chacha20-poly1305@openssh.com"
|
||||
)
|
5
cipher/chacha20/poly1305/types.go
Normal file
5
cipher/chacha20/poly1305/types.go
Normal file
@ -0,0 +1,5 @@
|
||||
package poly1305
|
||||
|
||||
type Cipher struct {
|
||||
Key []byte
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user