mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-03-03 17:03:10 -06:00
Fix saving Matrix key
This commit is contained in:
parent
6edfc1cb22
commit
184e8cec98
|
|
@ -67,7 +67,7 @@ func SaveMatrixKey(matrixKeyPath string, data ed25519.PrivateKey) error {
|
||||||
Headers: map[string]string{
|
Headers: map[string]string{
|
||||||
"Key-ID": fmt.Sprintf("ed25519:%s", keyID[:6]),
|
"Key-ID": fmt.Sprintf("ed25519:%s", keyID[:6]),
|
||||||
},
|
},
|
||||||
Bytes: data[3:],
|
Bytes: data,
|
||||||
})
|
})
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue