+2
-56
lines changedFilter options
+2
-56
lines changed Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
1
-
// +build go1.13
2
-
3
1
// Package derhelpers implements common functionality
4
2
// on DER encoded data
5
3
package derhelpers
Original file line number Diff line number Diff line change
@@ -2,11 +2,10 @@ package derhelpers
2
2
3
3
import (
4
4
"crypto"
5
+
"crypto/ed25519"
5
6
"crypto/x509/pkix"
6
7
"encoding/asn1"
7
8
"errors"
8
-
9
-
"golang.org/x/crypto/ed25519"
10
9
)
11
10
12
11
var errEd25519WrongID = errors.New("incorrect object identifier")
Original file line number Diff line number Diff line change
@@ -2,10 +2,9 @@ package derhelpers
2
2
3
3
import (
4
4
"bytes"
5
+
"crypto/ed25519"
5
6
"encoding/pem"
6
7
"testing"
7
-
8
-
"golang.org/x/crypto/ed25519"
9
8
)
10
9
11
10
var testPubKey = `-----BEGIN PUBLIC KEY-----
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4