feat: add OTP and Passkey Tools to Toolbox 0.11.0
This commit is contained in:
@@ -119,6 +119,47 @@ export const svgManifest: ToolboxAppManifest = {
|
||||
assets: ['./canvas-frame-controller.js'],
|
||||
};
|
||||
|
||||
export const authManifest: ToolboxAppManifest = {
|
||||
...pdfManifest,
|
||||
id: 'de.add-ideas.auth-tools',
|
||||
name: 'OTP & Passkey Tools',
|
||||
version: '0.1.0',
|
||||
description:
|
||||
'Generate, inspect and verify OTP credentials and test WebAuthn/passkey ceremonies locally in the browser.',
|
||||
icon: './favicon.svg',
|
||||
categories: ['security', 'authentication', 'developer'],
|
||||
tags: [
|
||||
'otp',
|
||||
'hotp',
|
||||
'totp',
|
||||
'ocra',
|
||||
'oath',
|
||||
'webauthn',
|
||||
'fido2',
|
||||
'passkey',
|
||||
'attestation',
|
||||
'assertion',
|
||||
],
|
||||
requirements: {
|
||||
secureContext: true,
|
||||
workers: false,
|
||||
indexedDb: false,
|
||||
crossOriginIsolated: false,
|
||||
topLevelContext: true,
|
||||
},
|
||||
privacy: {
|
||||
processing: 'local',
|
||||
fileUploads: false,
|
||||
telemetry: false,
|
||||
label:
|
||||
'Authentication material stays in this tab; nothing is uploaded or saved unless you explicitly export it.',
|
||||
},
|
||||
source: {
|
||||
repository: 'https://git.add-ideas.de/lotobo/auth-tools',
|
||||
license: 'GPL-3.0-or-later',
|
||||
},
|
||||
};
|
||||
|
||||
export const catalogue: ToolboxCatalog = {
|
||||
schemaVersion: 1,
|
||||
id: 'de.add-ideas.toolbox',
|
||||
@@ -130,6 +171,7 @@ export const catalogue: ToolboxCatalog = {
|
||||
{ manifest: './apps/xslt/toolbox-app.json', enabled: true },
|
||||
{ manifest: './apps/onenote/toolbox-app.json', enabled: true },
|
||||
{ manifest: './apps/svg/toolbox-app.json', enabled: true },
|
||||
{ manifest: './apps/auth/toolbox-app.json', enabled: true },
|
||||
],
|
||||
};
|
||||
|
||||
@@ -153,6 +195,8 @@ export function catalogueFetch(overrides: Record<string, Response> = {}) {
|
||||
return Response.json(regexManifest);
|
||||
if (url.pathname.endsWith('/apps/svg/toolbox-app.json'))
|
||||
return Response.json(svgManifest);
|
||||
if (url.pathname.endsWith('/apps/auth/toolbox-app.json'))
|
||||
return Response.json(authManifest);
|
||||
return new Response('Not found', { status: 404 });
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user