mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
Fix Keybase profiles
Issue raised in https://codeberg.org/keyoxide/keyoxide-web/issues/137
This commit is contained in:
parent
bcb4dc4f8e
commit
b99a10461e
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### Added
|
||||||
- h-card markup to profile pages (thanks to [caesar](https://codeberg.org/caesar) [PR#130](https://codeberg.org/keyoxide/keyoxide-web/pulls/130))
|
- h-card markup to profile pages (thanks to [caesar](https://codeberg.org/caesar) [PR#130](https://codeberg.org/keyoxide/keyoxide-web/pulls/130))
|
||||||
|
### Fixed
|
||||||
|
- Keybase profiles (thanks to [gonz0](https://codeberg.org/gonz0))
|
||||||
|
|
||||||
## [3.3.1] - 2022-03-15
|
## [3.3.1] - 2022-03-15
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -112,7 +112,7 @@ const generateSignatureProfile = async (signature) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const generateKeybaseProfile = async (username, fingerprint) => {
|
const generateKeybaseProfile = async (username, fingerprint) => {
|
||||||
return fetchKeybase(id, keyserverDomain)
|
return fetchKeybase(username, fingerprint)
|
||||||
.then(async key => {
|
.then(async key => {
|
||||||
let keyData = await doipjs.keys.process(key.publicKey)
|
let keyData = await doipjs.keys.process(key.publicKey)
|
||||||
keyData.openpgp4fpr = `openpgp4fpr:${keyData.fingerprint.toLowerCase()}`
|
keyData.openpgp4fpr = `openpgp4fpr:${keyData.fingerprint.toLowerCase()}`
|
||||||
|
|
Loading…
Reference in a new issue