mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Merge branch 'dev' into configurable-scheme
This commit is contained in:
commit
b9b7b33c83
5 changed files with 27 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
pipeline:
|
||||
steps:
|
||||
test:
|
||||
image: node
|
||||
commands:
|
||||
|
|
16
CHANGELOG.md
16
CHANGELOG.md
|
@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [4.0.1] - 2023-08-28
|
||||
### Fixed
|
||||
- CI docker builds
|
||||
|
||||
## [4.0.0] - 2023-08-28
|
||||
### Added
|
||||
- ASPE support
|
||||
- Rome linting and formatting
|
||||
- API v3
|
||||
### Changed
|
||||
- Updated doipjs to 1.0.0
|
||||
### Fixed
|
||||
- Missing primaryUserIndex
|
||||
### Removed
|
||||
- API v0, v1, v2
|
||||
|
||||
## [3.6.4] - 2023-03-27
|
||||
### Fixed
|
||||
- Missing /graphql proxy API endpoint
|
||||
|
|
|
@ -4,7 +4,8 @@ WORKDIR /app
|
|||
COPY . .
|
||||
|
||||
RUN yarn --pure-lockfile
|
||||
RUN yarn run build
|
||||
RUN yarn run build:server
|
||||
RUN yarn run build:static
|
||||
|
||||
###
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "keyoxide-web",
|
||||
"version": "3.6.4",
|
||||
"version": "4.0.1",
|
||||
"description": "Verifying online identity with cryptography",
|
||||
"main": "./src/index.js",
|
||||
"type": "module",
|
||||
|
|
|
@ -102,7 +102,13 @@ const fetchWKD = (id) => {
|
|||
reject(new Error('No public keys could be read from the data fetched using WKD'))
|
||||
}
|
||||
|
||||
try {
|
||||
profile = await doipjs.openpgp.parsePublicKey(publicKey)
|
||||
} catch (error) {
|
||||
reject(new Error('No public keys could be fetched using WKD'))
|
||||
return
|
||||
}
|
||||
|
||||
profile.publicKey.fetch.method = 'wkd'
|
||||
profile.publicKey.fetch.query = id
|
||||
profile.publicKey.fetch.resolvedUrl = fetchURL
|
||||
|
|
Loading…
Reference in a new issue