mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-30 04:52:46 +00:00
s/Base64String/Base64Bytes/g (#1093)
* s/Base64String/Base64Bytes/g Requires https://github.com/matrix-org/gomatrixserverlib/pull/203 to land first * update gmsl
This commit is contained in:
parent
e7d1ac84c3
commit
097cdf879c
9 changed files with 10 additions and 10 deletions
|
@ -43,7 +43,7 @@ func (n *mDNSListener) HandlePeerFound(p peer.AddrInfo) {
|
|||
KeyID: "ed25519:p2pdemo",
|
||||
}: {
|
||||
VerifyKey: gomatrixserverlib.VerifyKey{
|
||||
Key: gomatrixserverlib.Base64String(raw),
|
||||
Key: gomatrixserverlib.Base64Bytes(raw),
|
||||
},
|
||||
ValidUntilTS: math.MaxUint64 >> 1,
|
||||
ExpiredTS: gomatrixserverlib.PublicKeyNotExpired,
|
||||
|
|
|
@ -62,7 +62,7 @@ func (f *libp2pKeyFetcher) FetchKeys(
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("Failed to extract raw bytes from public key: %w", err)
|
||||
}
|
||||
b64Key := gomatrixserverlib.Base64String(pubKeyBytes)
|
||||
b64Key := gomatrixserverlib.Base64Bytes(pubKeyBytes)
|
||||
res[req] = gomatrixserverlib.PublicKeyLookupResult{
|
||||
VerifyKey: gomatrixserverlib.VerifyKey{
|
||||
Key: b64Key,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue