wherdr 0.0.0-stage → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +15 -0
- package/.output/public/_nuxt/AgentView.DE2GDt4O.css +1 -0
- package/.output/public/_nuxt/BDI8xNSb.js +2 -0
- package/.output/public/_nuxt/BDNMzG2s.js +1 -0
- package/.output/public/_nuxt/BIA9pZvC.js +1 -0
- package/.output/public/_nuxt/Bd17z0YL.js +2 -0
- package/.output/public/_nuxt/BevNMnQ2.js +83 -0
- package/.output/public/_nuxt/BpQH8Ho1.js +1 -0
- package/.output/public/_nuxt/Bta8at9w.js +6 -0
- package/.output/public/_nuxt/CA9mI3eg.js +23 -0
- package/.output/public/_nuxt/CWwyK2XK.js +2 -0
- package/.output/public/_nuxt/CXG-cOdh.js +1 -0
- package/.output/public/_nuxt/Ci8N4mWR.js +1 -0
- package/.output/public/_nuxt/CjKICX3g.js +17 -0
- package/.output/public/_nuxt/D903WmCE.js +65 -0
- package/.output/public/_nuxt/DBu2-cEy.js +30 -0
- package/.output/public/_nuxt/DJE_XMLO.js +1 -0
- package/.output/public/_nuxt/DLLQgP0d.js +1 -0
- package/.output/public/_nuxt/DxO1TBoK.js +1 -0
- package/.output/public/_nuxt/SiL1FJ5s.js +3 -0
- package/.output/public/_nuxt/archivo-latin-ext-wght-normal.C4zznr8T.woff2 +0 -0
- package/.output/public/_nuxt/archivo-latin-wght-normal.E0tuGl4L.woff2 +0 -0
- package/.output/public/_nuxt/archivo-vietnamese-wght-normal.XAtsl5Q_.woff2 +0 -0
- package/.output/public/_nuxt/bLP7Jj-b.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/211609c0-be04-46c5-a6b0-566bc0c4a3dd.json +1 -0
- package/.output/public/_nuxt/e5N4AqCN.js +93 -0
- package/.output/public/_nuxt/entry.SHBiCXBL.css +2 -0
- package/.output/public/_nuxt/error-404.Bb87HomL.css +1 -0
- package/.output/public/_nuxt/error-500.Bwd7zAaE.css +1 -0
- package/.output/public/_nuxt/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
- package/.output/public/_nuxt/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
- package/.output/public/_nuxt/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
- package/.output/public/_nuxt/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
- package/.output/public/_nuxt/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
- package/.output/public/_nuxt/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
- package/.output/public/_nuxt/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-cyrillic-wght-normal.D73BlboJ.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-greek-wght-normal.Bw9x6K1M.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-latin-ext-wght-normal.DBQx-q_a.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-latin-wght-normal.B9CIFXIH.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-vietnamese-wght-normal.Bt-aOZkq.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-awesome.DQ3_iAfa.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-codicons.CtEsfSAf.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-devicons.ZMSFX1sW.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-extension.Dai_ky39.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-material-1.BdvqkCqW.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-material-2.C_flbBWO.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-material-3.8xz7iX-Y.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-material-4.CO_PudDR.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-octicons.Hl4VEx8m.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-powerline.B_kAMxXr.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-symbols.C1LsPKmg.woff2 +0 -0
- package/.output/public/_nuxt/yzABg5xl.js +1 -0
- package/.output/public/manifest-en.webmanifest +18 -0
- package/.output/public/manifest.webmanifest +18 -0
- package/.output/public/sw.js +99 -0
- package/.output/server/chunks/_/awake.mjs +170 -0
- package/.output/server/chunks/_/branding.mjs +28 -0
- package/.output/server/chunks/_/changes.mjs +199 -0
- package/.output/server/chunks/_/error-500.mjs +20 -0
- package/.output/server/chunks/_/machineOrder.mjs +40 -0
- package/.output/server/chunks/_/onboarding.mjs +26 -0
- package/.output/server/chunks/_/phone.mjs +343 -0
- package/.output/server/chunks/_/plugins.mjs +248 -0
- package/.output/server/chunks/_/projectBoard.mjs +275 -0
- package/.output/server/chunks/_/projectsActions.mjs +143 -0
- package/.output/server/chunks/_/projectsPlugin.mjs +56 -0
- package/.output/server/chunks/_/restart.mjs +459 -0
- package/.output/server/chunks/_/reveal.mjs +137 -0
- package/.output/server/chunks/_/worktrees.mjs +74 -0
- package/.output/server/chunks/_/ws.mjs +57 -0
- package/.output/server/chunks/nitro/nitro.mjs +20691 -0
- package/.output/server/chunks/raw/apple-touch-icon.mjs +7 -0
- package/.output/server/chunks/raw/build-nerd-font.mjs +7 -0
- package/.output/server/chunks/raw/build-terminal-font.mjs +7 -0
- package/.output/server/chunks/raw/check-leaks.mjs +5 -0
- package/.output/server/chunks/raw/dev.wherdr.open.mjs +7 -0
- package/.output/server/chunks/raw/docker-entrypoint.mjs +7 -0
- package/.output/server/chunks/raw/favicon-32.mjs +7 -0
- package/.output/server/chunks/raw/favicon.mjs +7 -0
- package/.output/server/chunks/raw/herdr-plugin.mjs +7 -0
- package/.output/server/chunks/raw/icon-192.mjs +7 -0
- package/.output/server/chunks/raw/icon-512-maskable.mjs +7 -0
- package/.output/server/chunks/raw/icon-512.mjs +7 -0
- package/.output/server/chunks/raw/icon-maskable.mjs +7 -0
- package/.output/server/chunks/raw/icon.mjs +7 -0
- package/.output/server/chunks/raw/install-claude-statusline.mjs +7 -0
- package/.output/server/chunks/raw/install-host-open.mjs +7 -0
- package/.output/server/chunks/raw/pack-output.mjs +5 -0
- package/.output/server/chunks/raw/reveal.mjs +7 -0
- package/.output/server/chunks/raw/wherdr-open.mjs +7 -0
- package/.output/server/chunks/routes/api/_..._.mjs +30 -0
- package/.output/server/chunks/routes/api/agents.post.mjs +30 -0
- package/.output/server/chunks/routes/api/ask-tab.post.mjs +49 -0
- package/.output/server/chunks/routes/api/attach.post.mjs +35 -0
- package/.output/server/chunks/routes/api/auth/disable.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/lock-all.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/lock.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/login/options.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/login/verify.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/max-session.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/register/options.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/register/verify.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/status.get.mjs +33 -0
- package/.output/server/chunks/routes/api/changes.get.mjs +38 -0
- package/.output/server/chunks/routes/api/chat/image.get.mjs +40 -0
- package/.output/server/chunks/routes/api/chat.get.mjs +93 -0
- package/.output/server/chunks/routes/api/choose.post.mjs +135 -0
- package/.output/server/chunks/routes/api/claude-statusline.post.mjs +35 -0
- package/.output/server/chunks/routes/api/close/status.get.mjs +36 -0
- package/.output/server/chunks/routes/api/close.post.mjs +37 -0
- package/.output/server/chunks/routes/api/codex-update.post.mjs +41 -0
- package/.output/server/chunks/routes/api/commands.get.mjs +42 -0
- package/.output/server/chunks/routes/api/config.get.mjs +86 -0
- package/.output/server/chunks/routes/api/dirs.get.mjs +33 -0
- package/.output/server/chunks/routes/api/dismiss.post.mjs +33 -0
- package/.output/server/chunks/routes/api/effort.post.mjs +36 -0
- package/.output/server/chunks/routes/api/efforts.get.mjs +37 -0
- package/.output/server/chunks/routes/api/file.post.mjs +34 -0
- package/.output/server/chunks/routes/api/gitroot.get.mjs +37 -0
- package/.output/server/chunks/routes/api/index.get.mjs +36 -0
- package/.output/server/chunks/routes/api/input.post.mjs +43 -0
- package/.output/server/chunks/routes/api/interrupt.post.mjs +48 -0
- package/.output/server/chunks/routes/api/isgit.get.mjs +37 -0
- package/.output/server/chunks/routes/api/machine/awake.get.mjs +39 -0
- package/.output/server/chunks/routes/api/machine/awake.post.mjs +40 -0
- package/.output/server/chunks/routes/api/machine/order.get.mjs +31 -0
- package/.output/server/chunks/routes/api/machine/order.post.mjs +36 -0
- package/.output/server/chunks/routes/api/machine/rename.post.mjs +39 -0
- package/.output/server/chunks/routes/api/menu.post.mjs +76 -0
- package/.output/server/chunks/routes/api/model.post.mjs +36 -0
- package/.output/server/chunks/routes/api/models.get.mjs +35 -0
- package/.output/server/chunks/routes/api/nav.post.mjs +58 -0
- package/.output/server/chunks/routes/api/onboarding.get.mjs +31 -0
- package/.output/server/chunks/routes/api/onboarding.post.mjs +34 -0
- package/.output/server/chunks/routes/api/phone.get.mjs +38 -0
- package/.output/server/chunks/routes/api/phone.post.mjs +38 -0
- package/.output/server/chunks/routes/api/plugins/actions.get.mjs +36 -0
- package/.output/server/chunks/routes/api/plugins/invoke.post.mjs +33 -0
- package/.output/server/chunks/routes/api/plugins/profiles.get.mjs +35 -0
- package/.output/server/chunks/routes/api/plugins/projects.get.mjs +37 -0
- package/.output/server/chunks/routes/api/plugins/projects.post.mjs +37 -0
- package/.output/server/chunks/routes/api/plugins/thread-limits.get.mjs +30 -0
- package/.output/server/chunks/routes/api/plugins/thread-limits.post.mjs +40 -0
- package/.output/server/chunks/routes/api/project/report.get.mjs +36 -0
- package/.output/server/chunks/routes/api/prompt.post.mjs +87 -0
- package/.output/server/chunks/routes/api/push/quiet.post.mjs +49 -0
- package/.output/server/chunks/routes/api/push/subscribe.post.mjs +51 -0
- package/.output/server/chunks/routes/api/push/test.post.mjs +32 -0
- package/.output/server/chunks/routes/api/push/unsubscribe.post.mjs +34 -0
- package/.output/server/chunks/routes/api/quotas.get.mjs +30 -0
- package/.output/server/chunks/routes/api/rename.post.mjs +36 -0
- package/.output/server/chunks/routes/api/requeue.post.mjs +34 -0
- package/.output/server/chunks/routes/api/restart.get.mjs +38 -0
- package/.output/server/chunks/routes/api/restart.post.mjs +39 -0
- package/.output/server/chunks/routes/api/reveal.post.mjs +31 -0
- package/.output/server/chunks/routes/api/screen-key.post.mjs +41 -0
- package/.output/server/chunks/routes/api/screen.get.mjs +76 -0
- package/.output/server/chunks/routes/api/search.get.mjs +76 -0
- package/.output/server/chunks/routes/api/seen.post.mjs +33 -0
- package/.output/server/chunks/routes/api/sessions.get.mjs +33 -0
- package/.output/server/chunks/routes/api/sessions.post.mjs +33 -0
- package/.output/server/chunks/routes/api/space.post.mjs +258 -0
- package/.output/server/chunks/routes/api/state.get.mjs +30 -0
- package/.output/server/chunks/routes/api/unqueue.post.mjs +35 -0
- package/.output/server/chunks/routes/api/update.get.mjs +78 -0
- package/.output/server/chunks/routes/api/upload.post.mjs +33 -0
- package/.output/server/chunks/routes/api/worktrees/remove.post.mjs +34 -0
- package/.output/server/chunks/routes/api/worktrees.get.mjs +31 -0
- package/.output/server/chunks/routes/favicon.ico.get.mjs +31 -0
- package/.output/server/chunks/routes/icons/_name_.get.mjs +31 -0
- package/.output/server/chunks/routes/renderer.mjs +358 -0
- package/.output/server/chunks/routes/uploads/_...name_.get.mjs +39 -0
- package/.output/server/chunks/routes/ws/_..._.mjs +32 -0
- package/.output/server/chunks/routes/ws/events.mjs +57 -0
- package/.output/server/chunks/routes/ws/mirror.mjs +157 -0
- package/.output/server/chunks/routes/ws/term.mjs +151 -0
- package/.output/server/chunks/virtual/_raw-helpers.mjs +12 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/precomputed.mjs +4 -0
- package/.output/server/index.mjs +26 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14616 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@hexagon/base64/package.json +73 -0
- package/.output/server/node_modules/@hexagon/base64/src/base64.js +190 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/esm/cbor/cbor.js +440 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/esm/cbor/cbor_internal.js +111 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/esm/index.js +1 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/esm/package.json +3 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/package.json +25 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/attestation.js +34 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/index.js +3 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/key_description.js +512 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/nonstandard.js +103 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-android/package.json +64 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attribute.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/counter_signature.js +13 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/index.js +8 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/message_digest.js +8 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/signing_time.js +13 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/certificate_choices.js +64 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/content_info.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/encapsulated_content_info.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/encrypted_content_info.js +56 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/enveloped_data.js +60 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/index.js +24 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/issuer_and_serial_number.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/kek_recipient_info.js +53 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/key_agree_recipient_info.js +167 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/key_trans_recipient_info.js +51 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/object_identifiers.js +10 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/originator_info.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/other_key_attribute.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/password_recipient_info.js +32 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/recipient_info.js +75 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/recipient_infos.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/revocation_info_choice.js +54 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signed_data.js +64 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signer_identifier.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signer_info.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/types.js +51 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/package.json +65 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/attributes.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/certification_request.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/certification_request_info.js +34 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/index.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/package.json +65 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/algorithms.js +14 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_parameters.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_private_key.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_signature_value.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/index.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/object_identifiers.js +26 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/rfc3279.js +95 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/algorithms.js +10 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_parameters.js +24 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_private_key.js +32 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_signature_value.js +21 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/index.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/object_identifiers.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/rfc3279.js +90 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/package.json +66 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/attribute.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/authenticated_safe.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/cert_bag.js +26 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/crl_bag.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/index.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/key_bag.js +12 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/pkcs8_shrouded_key_bag.js +12 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/secret_bag.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/types.js +11 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/index.js +10 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/mac_data.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/object_identifiers.js +14 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/pfx.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/safe_bag.js +45 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/package.json +67 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/encrypted_private_key_info.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/index.js +5 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/private_key_info.js +54 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/package.json +63 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/build/cjs/index.js +301 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/package.json +67 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/algorithms.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/index.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/object_identifiers.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/other_prime_info.js +46 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/index.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsaes_oaep.js +45 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pkcs1_v1_5.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pss.js +53 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/rsa_private_key.js +79 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/rsa_public_key.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/algorithms.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/index.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/object_identifiers.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/other_prime_info.js +42 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/index.js +3 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsaes_oaep.js +41 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsassa_pkcs1_v1_5.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsassa_pss.js +49 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/rsa_private_key.js +75 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/rsa_public_key.js +21 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/package.json +64 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/convert.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/converters.js +148 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/decorators.js +52 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/enums.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/errors/index.js +4 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/errors/schema_validation.js +7 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/helper.js +44 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/index.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/objects.js +17 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/parser.js +313 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/schema.js +165 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/serializer.js +150 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/storage.js +5 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/bit_string.js +71 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/index.js +5 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/octet_string.js +45 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/convert.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/converters.js +143 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/decorators.js +43 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/enums.js +37 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/errors/index.js +1 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/errors/schema_validation.js +3 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/helper.js +39 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/index.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/objects.js +13 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/parser.js +308 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/schema.js +160 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/serializer.js +145 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/storage.js +2 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/bit_string.js +66 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/index.js +2 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/octet_string.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/package.json +74 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/algorithm_identifier.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/attribute.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/certificate.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/certificate_list.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extension.js +41 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/authority_information_access.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/authority_key_identifier.js +48 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/basic_constraints.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/certificate_issuer.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/certificate_policies.js +136 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_delta_indicator.js +14 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_distribution_points.js +132 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_freshest.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_issuing_distribution_point.js +68 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_number.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_reason.js +39 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/entrust_version_info.js +46 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/extended_key_usage.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/index.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/inhibit_any_policy.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/invalidity_date.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/issuer_alternative_name.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/key_usage.js +56 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/name_constraints.js +74 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/policy_constraints.js +33 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/policy_mappings.js +35 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/private_key_usage_period.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_alternative_name.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_directory_attributes.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_info_access.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_key_identifier.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/general_name.js +132 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/general_names.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/index.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/ip_converter.js +177 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/name.js +110 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/object_identifiers.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/subject_public_key_info.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/tbs_cert_list.js +83 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/tbs_certificate.js +78 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/time.js +43 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/types.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/validity.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/algorithm_identifier.js +24 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/attribute.js +18 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/certificate.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/certificate_list.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extension.js +37 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/authority_information_access.js +32 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/authority_key_identifier.js +43 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/basic_constraints.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/certificate_issuer.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/certificate_policies.js +129 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_delta_indicator.js +11 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_distribution_points.js +127 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_freshest.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_issuing_distribution_point.js +64 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_number.js +17 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_reason.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/entrust_version_info.js +41 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/extended_key_usage.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/index.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/inhibit_any_policy.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/invalidity_date.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/issuer_alternative_name.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/key_usage.js +52 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/name_constraints.js +69 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/policy_constraints.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/policy_mappings.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/private_key_usage_period.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_alternative_name.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_directory_attributes.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_info_access.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_key_identifier.js +5 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/general_name.js +127 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/general_names.js +17 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/index.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/ip_converter.js +173 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/name.js +106 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/object_identifiers.js +13 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/subject_public_key_info.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/tbs_cert_list.js +78 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/tbs_certificate.js +74 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/time.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/types.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/validity.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/package.json +64 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/aa_clear_attrs.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/aa_controls.js +44 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_cert_issuer.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_cert_validity_period.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_spec.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attribute_certificate.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attribute_certificate_info.js +67 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/class_list.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/clearance.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/holder.js +41 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/ietf_attr_syntax.js +46 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/index.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/issuer_serial.js +30 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/object_digest_info.js +37 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/object_identifiers.js +17 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/proxy_info.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/role_syntax.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/security_category.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/svce_auth_info.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/target.js +79 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/v2_form.js +39 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/package.json +64 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/buffer-source.js +115 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/concat.js +41 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/equal.js +17 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/index.js +31 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/sequence.js +161 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/convert.js +74 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/defaults.js +72 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/index.js +18 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/registry.js +188 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/base64.js +48 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/base64url.js +26 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/binary.js +26 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/hex.js +229 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/index.js +10 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/utf16.js +24 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/utf8.js +13 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/index.js +10 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/buffer-source-converter.js +37 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/convert.js +72 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/functions.js +23 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/index.js +11 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/package.json +3 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/pem/index.js +14 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/pem/pem.js +140 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/buffer-source.js +101 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/concat.js +37 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/equal.js +14 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/index.js +4 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/sequence.js +150 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/converters/convert.js +71 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/converters/defaults.js +68 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/converters/index.js +3 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/converters/registry.js +185 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/base64.js +40 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/base64url.js +19 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/binary.js +20 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/hex.js +220 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/index.js +6 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/utf16.js +19 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/utf8.js +8 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/index.js +6 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/buffer-source-converter.js +33 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/convert.js +68 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/functions.js +18 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/index.js +3 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/pem/index.js +1 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/pem/pem.js +129 -0
- package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/utils/package.json +111 -0
- package/.output/server/node_modules/@peculiar/x509/build/x509.cjs.js +3445 -0
- package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/x509/package.json +94 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/authentication/generateAuthenticationOptions.js +41 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/authentication/verifyAuthenticationResponse.js +171 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertAAGUIDToString.js +17 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertCOSEtoPKCS.js +21 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertCertBufferToPEM.js +31 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertPEMToBytes.js +11 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertX509PublicKeyToCOSE.js +73 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/cose.js +90 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeAttestationObject.js +16 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeAuthenticatorExtensions.js +34 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeClientDataJSON.js +16 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeCredentialPublicKey.js +11 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/fetch.js +14 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/generateChallenge.js +24 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/generateUserID.js +20 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/getCertificateInfo.js +77 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/index.js +17 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/isCertRevoked.js +96 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/index.js +11 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoBase64URL.js +72 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCBOR.js +35 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/digest.js +14 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/getRandomValues.js +11 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/getWebCrypto.js +49 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/importKey.js +8 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/index.js +7 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/mapCoseAlgToWebCryptoAlg.js +20 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/mapCoseAlgToWebCryptoKeyAlgName.js +19 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/unwrapEC2Signature.js +73 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verify.js +32 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyEC2.js +73 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyOKP.js +51 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyRSA.js +91 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoUint8Array.js +79 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/logging.js +19 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/mapJWSAlgToCOSEAlg.js +31 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/mapX509SignatureAlgToCOSEAlg.js +35 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/matchExpectedRPID.js +41 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/parseAuthenticatorData.js +106 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/parseBackupFlags.js +25 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/toHash.js +12 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/validateCertificatePath.js +134 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/validateExtFIDOGenCEAAGUID.js +34 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/verifySignature.js +35 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/index.js +8 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/mdsTypes.js +17 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/parseJWT.js +12 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyAttestationWithMetadata.js +159 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyJWT.js +42 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyMDSBlob.js +59 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/package.json +3 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/generateRegistrationOptions.js +181 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/constants.js +137 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/parseCertInfo.js +58 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/parsePubArea.js +94 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/verifyAttestationTPM.js +331 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationAndroidKey.js +120 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationAndroidSafetyNet.js +113 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationApple.js +58 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationFIDOU2F.js +48 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationPacked.js +113 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifyRegistrationResponse.js +213 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/android-key.js +171 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/android-safetynet.js +32 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/apple.js +25 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/mds.js +74 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/metadataService.js +268 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/settingsService.js +74 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/types/index.js +1 -0
- package/.output/server/node_modules/@simplewebauthn/server/package.json +65 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1905 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +7006 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1867 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +655 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/agent-base/dist/helpers.js +66 -0
- package/.output/server/node_modules/agent-base/dist/index.js +178 -0
- package/.output/server/node_modules/agent-base/package.json +46 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/api.js +57 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/base/buffer.js +153 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/base/index.js +8 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/base/node.js +638 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/base/reporter.js +123 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/constants/der.js +58 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/constants/index.js +21 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/decoders/der.js +335 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/decoders/index.js +6 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/decoders/pem.js +51 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/encoders/der.js +295 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/encoders/index.js +6 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/encoders/pem.js +23 -0
- package/.output/server/node_modules/asn1.js/lib/asn1.js +11 -0
- package/.output/server/node_modules/asn1.js/package.json +36 -0
- package/.output/server/node_modules/asn1js/build/index.js +3266 -0
- package/.output/server/node_modules/asn1js/package.json +86 -0
- package/.output/server/node_modules/bn.js/lib/bn.js +3463 -0
- package/.output/server/node_modules/bn.js/package.json +36 -0
- package/.output/server/node_modules/buffer-equal-constant-time/index.js +41 -0
- package/.output/server/node_modules/buffer-equal-constant-time/package.json +21 -0
- package/.output/server/node_modules/debug/package.json +64 -0
- package/.output/server/node_modules/debug/src/browser.js +272 -0
- package/.output/server/node_modules/debug/src/common.js +292 -0
- package/.output/server/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/devalue/index.js +17 -0
- package/.output/server/node_modules/devalue/package.json +39 -0
- package/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/.output/server/node_modules/devalue/src/operations.js +221 -0
- package/.output/server/node_modules/devalue/src/parse.js +279 -0
- package/.output/server/node_modules/devalue/src/stringify.js +433 -0
- package/.output/server/node_modules/devalue/src/uneval.js +698 -0
- package/.output/server/node_modules/devalue/src/utils.js +190 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/package.json +46 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
- package/.output/server/node_modules/hookable/package.json +54 -0
- package/.output/server/node_modules/http_ece/ece.js +528 -0
- package/.output/server/node_modules/http_ece/package.json +29 -0
- package/.output/server/node_modules/https-proxy-agent/dist/index.js +180 -0
- package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/.output/server/node_modules/https-proxy-agent/package.json +50 -0
- package/.output/server/node_modules/inherits/inherits.js +9 -0
- package/.output/server/node_modules/inherits/inherits_browser.js +27 -0
- package/.output/server/node_modules/inherits/package.json +29 -0
- package/.output/server/node_modules/jwa/index.js +266 -0
- package/.output/server/node_modules/jwa/package.json +37 -0
- package/.output/server/node_modules/jws/index.js +22 -0
- package/.output/server/node_modules/jws/lib/data-stream.js +55 -0
- package/.output/server/node_modules/jws/lib/sign-stream.js +83 -0
- package/.output/server/node_modules/jws/lib/tostring.js +10 -0
- package/.output/server/node_modules/jws/lib/verify-stream.js +125 -0
- package/.output/server/node_modules/jws/package.json +34 -0
- package/.output/server/node_modules/minimalistic-assert/index.js +11 -0
- package/.output/server/node_modules/minimalistic-assert/package.json +19 -0
- package/.output/server/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
- package/.output/server/node_modules/nostics/dist/index.mjs +194 -0
- package/.output/server/node_modules/nostics/package.json +126 -0
- package/.output/server/node_modules/pvtsutils/build/index.js +399 -0
- package/.output/server/node_modules/pvtsutils/package.json +76 -0
- package/.output/server/node_modules/pvutils/build/utils.js +361 -0
- package/.output/server/node_modules/pvutils/package.json +63 -0
- package/.output/server/node_modules/qrcode-terminal/package.json +47 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +22 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +38 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +7 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +10 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +44 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +6 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +66 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +298 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +272 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/index.js +462 -0
- package/.output/server/node_modules/reflect-metadata/Reflect.js +1415 -0
- package/.output/server/node_modules/reflect-metadata/package.json +68 -0
- package/.output/server/node_modules/safe-buffer/index.js +65 -0
- package/.output/server/node_modules/safe-buffer/package.json +51 -0
- package/.output/server/node_modules/safer-buffer/package.json +34 -0
- package/.output/server/node_modules/safer-buffer/safer.js +77 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/supports-color/index.js +202 -0
- package/.output/server/node_modules/supports-color/package.json +64 -0
- package/.output/server/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/auto-injectable.js +46 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/index.js +20 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-all-with-transform.js +13 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-all.js +12 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-with-transform.js +10 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject.js +12 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/injectable.js +21 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/registry.js +14 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/scoped.js +13 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/singleton.js +11 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/dependency-container.js +341 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/error-helpers.js +19 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/factories/index.js +8 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/factories/instance-caching-factory.js +12 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/factories/instance-per-container-caching-factory.js +14 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/factories/predicate-aware-class-factory.js +19 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/index.js +15 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/interceptors.js +17 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/lazy-helpers.js +54 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/class-provider.js +7 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/factory-provider.js +7 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/index.js +12 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/injection-token.js +24 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/provider.js +14 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/token-provider.js +7 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/value-provider.js +7 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/reflection-helpers.js +27 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/registry-base.js +39 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/registry.js +6 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/resolution-context.js +8 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/types/disposable.js +13 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/types/index.js +4 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/types/lifecycle.js +10 -0
- package/.output/server/node_modules/tsyringe/node_modules/tslib/package.json +37 -0
- package/.output/server/node_modules/tsyringe/node_modules/tslib/tslib.js +284 -0
- package/.output/server/node_modules/tsyringe/package.json +63 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
- package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
- package/.output/server/node_modules/unhead/dist/minify.mjs +183 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +746 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs +400 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +192 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bjbp1C8D.mjs +224 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs +49 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C_7zwq8E.mjs +11 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Dssd7L5I.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +264 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.oZ7pkTV1.mjs +19 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +240 -0
- package/.output/server/node_modules/unhead/dist/stream/client.mjs +33 -0
- package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
- package/.output/server/node_modules/unhead/dist/stream/server.mjs +436 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
- package/.output/server/node_modules/unhead/package.json +179 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +687 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +66 -0
- package/.output/server/node_modules/web-push/package.json +55 -0
- package/.output/server/node_modules/web-push/src/encryption-helper.js +62 -0
- package/.output/server/node_modules/web-push/src/index.js +21 -0
- package/.output/server/node_modules/web-push/src/urlsafe-base64-helper.js +13 -0
- package/.output/server/node_modules/web-push/src/vapid-helper.js +255 -0
- package/.output/server/node_modules/web-push/src/web-push-constants.js +17 -0
- package/.output/server/node_modules/web-push/src/web-push-error.js +16 -0
- package/.output/server/node_modules/web-push/src/web-push-lib.js +413 -0
- package/.output/server/package.json +67 -0
- package/LICENSE +21 -0
- package/README.md +963 -2
- package/bin/lib/commands.mjs +432 -0
- package/bin/lib/core.mjs +150 -0
- package/bin/lib/panel.mjs +208 -0
- package/bin/lib/runtime.mjs +74 -0
- package/bin/lib/service.mjs +133 -0
- package/bin/lib/tailnet.d.mts +32 -0
- package/bin/lib/tailnet.mjs +185 -0
- package/bin/wherdr.mjs +23 -0
- package/package.json +75 -4
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@peculiar/x509",
|
|
3
|
+
"version": "1.14.3",
|
|
4
|
+
"description": "@peculiar/x509 is an easy to use TypeScript/Javascript library based on @peculiar/asn1-schema that makes generating X.509 Certificates and Certificate Requests as well as validating certificate chains easy",
|
|
5
|
+
"main": "build/x509.cjs.js",
|
|
6
|
+
"module": "build/x509.es.js",
|
|
7
|
+
"unpkg": "build/x509.js",
|
|
8
|
+
"types": "build/index.d.ts",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "vitest run",
|
|
11
|
+
"test:watch": "vitest",
|
|
12
|
+
"lint": "eslint",
|
|
13
|
+
"lint:fix": "eslint --fix",
|
|
14
|
+
"build": "npm run build:module",
|
|
15
|
+
"build:module": "rollup -c",
|
|
16
|
+
"rebuild": "npm run clear && npm run build",
|
|
17
|
+
"coverage": "vitest run --coverage",
|
|
18
|
+
"coveralls": "vitest run --coverage && cat coverage/lcov.info | coveralls",
|
|
19
|
+
"pub": "npm run pub:patch",
|
|
20
|
+
"pub:patch": "npm version patch && npm run git:push",
|
|
21
|
+
"pub:minor": "npm version minor && npm run git:push",
|
|
22
|
+
"pub:major": "npm version major && npm run git:push",
|
|
23
|
+
"git:push": "git push --follow-tags"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/PeculiarVentures/x509.git"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"x509",
|
|
31
|
+
"certificate",
|
|
32
|
+
"csr",
|
|
33
|
+
"pkcs10",
|
|
34
|
+
"pkcs7",
|
|
35
|
+
"cms",
|
|
36
|
+
"rsa",
|
|
37
|
+
"ec"
|
|
38
|
+
],
|
|
39
|
+
"author": "Peculiar Ventures LLC",
|
|
40
|
+
"contributors": [
|
|
41
|
+
"Miroshin Stepan<microshine@mail.ru>"
|
|
42
|
+
],
|
|
43
|
+
"license": "MIT",
|
|
44
|
+
"bugs": {
|
|
45
|
+
"url": "https://github.com/PeculiarVentures/x509/issues"
|
|
46
|
+
},
|
|
47
|
+
"homepage": "https://github.com/PeculiarVentures/x509#readme",
|
|
48
|
+
"files": [
|
|
49
|
+
"build/**/*.{ts,js}",
|
|
50
|
+
"README.md",
|
|
51
|
+
"LICENSE"
|
|
52
|
+
],
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@babel/core": "^7.28.5",
|
|
55
|
+
"@babel/preset-env": "^7.28.5",
|
|
56
|
+
"@peculiar/eslint-config-base": "^0.2.8",
|
|
57
|
+
"@peculiar/webcrypto": "^1.5.0",
|
|
58
|
+
"@rollup/plugin-babel": "^6.1.0",
|
|
59
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
60
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
61
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
62
|
+
"@types/node": "^24.10.1",
|
|
63
|
+
"@vitest/coverage-v8": "^4.0.9",
|
|
64
|
+
"rimraf": "^6.1.0",
|
|
65
|
+
"rollup": "^4.53.2",
|
|
66
|
+
"rollup-plugin-dts": "^6.2.3",
|
|
67
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
68
|
+
"typescript": "^5.9.3",
|
|
69
|
+
"vitest": "^4.0.9"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@peculiar/asn1-cms": "^2.6.0",
|
|
73
|
+
"@peculiar/asn1-csr": "^2.6.0",
|
|
74
|
+
"@peculiar/asn1-ecc": "^2.6.0",
|
|
75
|
+
"@peculiar/asn1-pkcs9": "^2.6.0",
|
|
76
|
+
"@peculiar/asn1-rsa": "^2.6.0",
|
|
77
|
+
"@peculiar/asn1-schema": "^2.6.0",
|
|
78
|
+
"@peculiar/asn1-x509": "^2.6.0",
|
|
79
|
+
"pvtsutils": "^1.3.6",
|
|
80
|
+
"reflect-metadata": "^0.2.2",
|
|
81
|
+
"tslib": "^2.8.1",
|
|
82
|
+
"tsyringe": "^4.10.0"
|
|
83
|
+
},
|
|
84
|
+
"engines": {
|
|
85
|
+
"node": ">=20.0.0"
|
|
86
|
+
},
|
|
87
|
+
"devEngines": {
|
|
88
|
+
"packageManager": {
|
|
89
|
+
"name": "npm",
|
|
90
|
+
"version": ">=10",
|
|
91
|
+
"onFail": "error"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { isoBase64URL, isoUint8Array } from '../helpers/iso/index.js';
|
|
2
|
+
import { generateChallenge } from '../helpers/generateChallenge.js';
|
|
3
|
+
/**
|
|
4
|
+
* Prepare a value to pass into navigator.credentials.get(...) for authenticator authentication
|
|
5
|
+
*
|
|
6
|
+
* **Options:**
|
|
7
|
+
*
|
|
8
|
+
* @param rpID - Valid domain name (after `https://`)
|
|
9
|
+
* @param allowCredentials **(Optional)** - Authenticators previously registered by the user, if any. If undefined the client will ask the user which credential they want to use
|
|
10
|
+
* @param challenge **(Optional)** - Random value the authenticator needs to sign and pass back user for authentication. Defaults to generating a random value
|
|
11
|
+
* @param timeout **(Optional)** - How long (in ms) the user can take to complete authentication. Defaults to `60000`
|
|
12
|
+
* @param userVerification **(Optional)** - Set to `'discouraged'` when asserting as part of a 2FA flow, otherwise set to `'preferred'` or `'required'` as desired. Defaults to `"preferred"`
|
|
13
|
+
* @param extensions **(Optional)** - Additional plugins the authenticator or browser should use during authentication
|
|
14
|
+
*/
|
|
15
|
+
export async function generateAuthenticationOptions(options) {
|
|
16
|
+
const { allowCredentials, challenge = await generateChallenge(), timeout = 60000, userVerification = 'preferred', extensions, rpID, } = options;
|
|
17
|
+
/**
|
|
18
|
+
* Preserve ability to specify `string` values for challenges
|
|
19
|
+
*/
|
|
20
|
+
let _challenge = challenge;
|
|
21
|
+
if (typeof _challenge === 'string') {
|
|
22
|
+
_challenge = isoUint8Array.fromUTF8String(_challenge);
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
rpId: rpID,
|
|
26
|
+
challenge: isoBase64URL.fromBuffer(_challenge),
|
|
27
|
+
allowCredentials: allowCredentials?.map((cred) => {
|
|
28
|
+
if (!isoBase64URL.isBase64URL(cred.id)) {
|
|
29
|
+
throw new Error(`allowCredential id "${cred.id}" is not a valid base64url string`);
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
...cred,
|
|
33
|
+
id: isoBase64URL.trimPadding(cred.id),
|
|
34
|
+
type: 'public-key',
|
|
35
|
+
};
|
|
36
|
+
}),
|
|
37
|
+
timeout,
|
|
38
|
+
userVerification,
|
|
39
|
+
extensions,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { decodeClientDataJSON } from '../helpers/decodeClientDataJSON.js';
|
|
2
|
+
import { toHash } from '../helpers/toHash.js';
|
|
3
|
+
import { verifySignature } from '../helpers/verifySignature.js';
|
|
4
|
+
import { parseAuthenticatorData } from '../helpers/parseAuthenticatorData.js';
|
|
5
|
+
import { parseBackupFlags } from '../helpers/parseBackupFlags.js';
|
|
6
|
+
import { matchExpectedRPID } from '../helpers/matchExpectedRPID.js';
|
|
7
|
+
import { isoBase64URL, isoUint8Array } from '../helpers/iso/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Verify that the user has legitimately completed the authentication process
|
|
10
|
+
*
|
|
11
|
+
* **Options:**
|
|
12
|
+
*
|
|
13
|
+
* @param response - Response returned by **@simplewebauthn/browser**'s `startAuthentication()`
|
|
14
|
+
* @param expectedChallenge - The base64url-encoded `options.challenge` returned by `generateAuthenticationOptions()`
|
|
15
|
+
* @param expectedOrigin - Website URL (or array of URLs) that the registration should have occurred on
|
|
16
|
+
* @param expectedRPID - RP ID (or array of IDs) that was specified in the registration options
|
|
17
|
+
* @param credential - An internal {@link WebAuthnCredential} corresponding to `id` in the authentication response
|
|
18
|
+
* @param expectedType **(Optional)** - The response type expected ('webauthn.get')
|
|
19
|
+
* @param requireUserVerification **(Optional)** - Enforce user verification by the authenticator (via PIN, fingerprint, etc...) Defaults to `true`
|
|
20
|
+
* @param advancedFIDOConfig **(Optional)** - Options for satisfying more stringent FIDO RP feature requirements
|
|
21
|
+
* @param advancedFIDOConfig.userVerification **(Optional)** - Enable alternative rules for evaluating the User Presence and User Verified flags in authenticator data: UV (and UP) flags are optional unless this value is `"required"`
|
|
22
|
+
*/
|
|
23
|
+
export async function verifyAuthenticationResponse(options) {
|
|
24
|
+
const { response, expectedChallenge, expectedOrigin, expectedRPID, expectedType, credential, requireUserVerification = true, advancedFIDOConfig, } = options;
|
|
25
|
+
const { id, rawId, type: credentialType, response: assertionResponse } = response;
|
|
26
|
+
// Ensure credential specified an ID
|
|
27
|
+
if (!id) {
|
|
28
|
+
throw new Error('Missing credential ID');
|
|
29
|
+
}
|
|
30
|
+
// Ensure ID is base64url-encoded
|
|
31
|
+
if (id !== rawId) {
|
|
32
|
+
throw new Error('Credential ID was not base64url-encoded');
|
|
33
|
+
}
|
|
34
|
+
// Make sure credential type is public-key
|
|
35
|
+
if (credentialType !== 'public-key') {
|
|
36
|
+
throw new Error(`Unexpected credential type ${credentialType}, expected "public-key"`);
|
|
37
|
+
}
|
|
38
|
+
if (!response) {
|
|
39
|
+
throw new Error('Credential missing response');
|
|
40
|
+
}
|
|
41
|
+
if (typeof assertionResponse?.clientDataJSON !== 'string') {
|
|
42
|
+
throw new Error('Credential response clientDataJSON was not a string');
|
|
43
|
+
}
|
|
44
|
+
const clientDataJSON = decodeClientDataJSON(assertionResponse.clientDataJSON);
|
|
45
|
+
const { type, origin, challenge, tokenBinding } = clientDataJSON;
|
|
46
|
+
// Make sure we're handling an authentication
|
|
47
|
+
if (Array.isArray(expectedType)) {
|
|
48
|
+
if (!expectedType.includes(type)) {
|
|
49
|
+
const joinedExpectedType = expectedType.join(', ');
|
|
50
|
+
throw new Error(`Unexpected authentication response type "${type}", expected one of: ${joinedExpectedType}`);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
else if (expectedType) {
|
|
54
|
+
if (type !== expectedType) {
|
|
55
|
+
throw new Error(`Unexpected authentication response type "${type}", expected "${expectedType}"`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
else if (type !== 'webauthn.get') {
|
|
59
|
+
throw new Error(`Unexpected authentication response type: ${type}`);
|
|
60
|
+
}
|
|
61
|
+
// Ensure the device provided the challenge we gave it
|
|
62
|
+
if (typeof expectedChallenge === 'function') {
|
|
63
|
+
if (!(await expectedChallenge(challenge))) {
|
|
64
|
+
throw new Error(`Custom challenge verifier returned false for registration response challenge "${challenge}"`);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
else if (challenge !== expectedChallenge) {
|
|
68
|
+
throw new Error(`Unexpected authentication response challenge "${challenge}", expected "${expectedChallenge}"`);
|
|
69
|
+
}
|
|
70
|
+
// Check that the origin is our site
|
|
71
|
+
if (Array.isArray(expectedOrigin)) {
|
|
72
|
+
if (!expectedOrigin.includes(origin)) {
|
|
73
|
+
const joinedExpectedOrigin = expectedOrigin.join(', ');
|
|
74
|
+
throw new Error(`Unexpected authentication response origin "${origin}", expected one of: ${joinedExpectedOrigin}`);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
if (origin !== expectedOrigin) {
|
|
79
|
+
throw new Error(`Unexpected authentication response origin "${origin}", expected "${expectedOrigin}"`);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
if (!isoBase64URL.isBase64URL(assertionResponse.authenticatorData)) {
|
|
83
|
+
throw new Error('Credential response authenticatorData was not a base64url string');
|
|
84
|
+
}
|
|
85
|
+
if (!isoBase64URL.isBase64URL(assertionResponse.signature)) {
|
|
86
|
+
throw new Error('Credential response signature was not a base64url string');
|
|
87
|
+
}
|
|
88
|
+
if (assertionResponse.userHandle &&
|
|
89
|
+
typeof assertionResponse.userHandle !== 'string') {
|
|
90
|
+
throw new Error('Credential response userHandle was not a string');
|
|
91
|
+
}
|
|
92
|
+
if (tokenBinding) {
|
|
93
|
+
if (typeof tokenBinding !== 'object') {
|
|
94
|
+
throw new Error('ClientDataJSON tokenBinding was not an object');
|
|
95
|
+
}
|
|
96
|
+
if (['present', 'supported', 'notSupported'].indexOf(tokenBinding.status) < 0) {
|
|
97
|
+
throw new Error(`Unexpected tokenBinding status ${tokenBinding.status}`);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
const authDataBuffer = isoBase64URL.toBuffer(assertionResponse.authenticatorData);
|
|
101
|
+
const parsedAuthData = parseAuthenticatorData(authDataBuffer);
|
|
102
|
+
const { rpIdHash, flags, counter, extensionsData } = parsedAuthData;
|
|
103
|
+
// Make sure the response's RP ID is ours
|
|
104
|
+
let expectedRPIDs = [];
|
|
105
|
+
if (typeof expectedRPID === 'string') {
|
|
106
|
+
expectedRPIDs = [expectedRPID];
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
expectedRPIDs = expectedRPID;
|
|
110
|
+
}
|
|
111
|
+
const matchedRPID = await matchExpectedRPID(rpIdHash, expectedRPIDs);
|
|
112
|
+
if (advancedFIDOConfig !== undefined) {
|
|
113
|
+
const { userVerification: fidoUserVerification } = advancedFIDOConfig;
|
|
114
|
+
/**
|
|
115
|
+
* Use FIDO Conformance-defined rules for verifying UP and UV flags
|
|
116
|
+
*/
|
|
117
|
+
if (fidoUserVerification === 'required') {
|
|
118
|
+
// Require `flags.uv` be true (implies `flags.up` is true)
|
|
119
|
+
if (!flags.uv) {
|
|
120
|
+
throw new Error('User verification required, but user could not be verified');
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
else if (fidoUserVerification === 'preferred' ||
|
|
124
|
+
fidoUserVerification === 'discouraged') {
|
|
125
|
+
// Ignore `flags.uv`
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
/**
|
|
130
|
+
* Use WebAuthn spec-defined rules for verifying UP and UV flags
|
|
131
|
+
*/
|
|
132
|
+
// WebAuthn only requires the user presence flag be true
|
|
133
|
+
if (!flags.up) {
|
|
134
|
+
throw new Error('User not present during authentication');
|
|
135
|
+
}
|
|
136
|
+
// Enforce user verification if required
|
|
137
|
+
if (requireUserVerification && !flags.uv) {
|
|
138
|
+
throw new Error('User verification required, but user could not be verified');
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
const clientDataHash = await toHash(isoBase64URL.toBuffer(assertionResponse.clientDataJSON));
|
|
142
|
+
const signatureBase = isoUint8Array.concat([authDataBuffer, clientDataHash]);
|
|
143
|
+
const signature = isoBase64URL.toBuffer(assertionResponse.signature);
|
|
144
|
+
if ((counter > 0 || credential.counter > 0) &&
|
|
145
|
+
counter <= credential.counter) {
|
|
146
|
+
// Error out when the counter in the DB is greater than or equal to the counter in the
|
|
147
|
+
// dataStruct. It's related to how the authenticator maintains the number of times its been
|
|
148
|
+
// used for this client. If this happens, then someone's somehow increased the counter
|
|
149
|
+
// on the device without going through this site
|
|
150
|
+
throw new Error(`Response counter value ${counter} was lower than expected ${credential.counter}`);
|
|
151
|
+
}
|
|
152
|
+
const { credentialDeviceType, credentialBackedUp } = parseBackupFlags(flags);
|
|
153
|
+
const toReturn = {
|
|
154
|
+
verified: await verifySignature({
|
|
155
|
+
signature,
|
|
156
|
+
data: signatureBase,
|
|
157
|
+
credentialPublicKey: credential.publicKey,
|
|
158
|
+
}),
|
|
159
|
+
authenticationInfo: {
|
|
160
|
+
newCounter: counter,
|
|
161
|
+
credentialID: credential.id,
|
|
162
|
+
userVerified: flags.uv,
|
|
163
|
+
credentialDeviceType,
|
|
164
|
+
credentialBackedUp,
|
|
165
|
+
authenticatorExtensionResults: extensionsData,
|
|
166
|
+
origin: clientDataJSON.origin,
|
|
167
|
+
rpID: matchedRPID,
|
|
168
|
+
},
|
|
169
|
+
};
|
|
170
|
+
return toReturn;
|
|
171
|
+
}
|
package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertAAGUIDToString.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { isoUint8Array } from './iso/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Convert the aaguid buffer in authData into a UUID string
|
|
4
|
+
*/
|
|
5
|
+
export function convertAAGUIDToString(aaguid) {
|
|
6
|
+
// Raw Hex: adce000235bcc60a648b0b25f1f05503
|
|
7
|
+
const hex = isoUint8Array.toHex(aaguid);
|
|
8
|
+
const segments = [
|
|
9
|
+
hex.slice(0, 8), // 8
|
|
10
|
+
hex.slice(8, 12), // 4
|
|
11
|
+
hex.slice(12, 16), // 4
|
|
12
|
+
hex.slice(16, 20), // 4
|
|
13
|
+
hex.slice(20, 32), // 8
|
|
14
|
+
];
|
|
15
|
+
// Formatted: adce0002-35bc-c60a-648b-0b25f1f05503
|
|
16
|
+
return segments.join('-');
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { isoCBOR, isoUint8Array } from './iso/index.js';
|
|
2
|
+
import { COSEKEYS } from './cose.js';
|
|
3
|
+
/**
|
|
4
|
+
* Takes COSE-encoded public key and converts it to PKCS key
|
|
5
|
+
*/
|
|
6
|
+
export function convertCOSEtoPKCS(cosePublicKey) {
|
|
7
|
+
// This is a little sloppy, I'm using COSEPublicKeyEC2 since it could have both x and y, but when
|
|
8
|
+
// there's no y it means it's probably better typed as COSEPublicKeyOKP. I'll leave this for now
|
|
9
|
+
// and revisit it later if it ever becomes an actual problem.
|
|
10
|
+
const struct = isoCBOR.decodeFirst(cosePublicKey);
|
|
11
|
+
const tag = Uint8Array.from([0x04]);
|
|
12
|
+
const x = struct.get(COSEKEYS.x);
|
|
13
|
+
const y = struct.get(COSEKEYS.y);
|
|
14
|
+
if (!x) {
|
|
15
|
+
throw new Error('COSE public key was missing x');
|
|
16
|
+
}
|
|
17
|
+
if (y) {
|
|
18
|
+
return isoUint8Array.concat([tag, x, y]);
|
|
19
|
+
}
|
|
20
|
+
return isoUint8Array.concat([tag, x]);
|
|
21
|
+
}
|
package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertCertBufferToPEM.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { isoBase64URL } from './iso/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Convert buffer to an OpenSSL-compatible PEM text format.
|
|
4
|
+
*/
|
|
5
|
+
export function convertCertBufferToPEM(certBuffer) {
|
|
6
|
+
let b64cert;
|
|
7
|
+
/**
|
|
8
|
+
* Get certBuffer to a base64 representation
|
|
9
|
+
*/
|
|
10
|
+
if (typeof certBuffer === 'string') {
|
|
11
|
+
if (isoBase64URL.isBase64URL(certBuffer)) {
|
|
12
|
+
b64cert = isoBase64URL.toBase64(certBuffer);
|
|
13
|
+
}
|
|
14
|
+
else if (isoBase64URL.isBase64(certBuffer)) {
|
|
15
|
+
b64cert = certBuffer;
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
throw new Error('Certificate is not a valid base64 or base64url string');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
b64cert = isoBase64URL.fromBuffer(certBuffer, 'base64');
|
|
23
|
+
}
|
|
24
|
+
let PEMKey = '';
|
|
25
|
+
for (let i = 0; i < Math.ceil(b64cert.length / 64); i += 1) {
|
|
26
|
+
const start = 64 * i;
|
|
27
|
+
PEMKey += `${b64cert.substr(start, 64)}\n`;
|
|
28
|
+
}
|
|
29
|
+
PEMKey = `-----BEGIN CERTIFICATE-----\n${PEMKey}-----END CERTIFICATE-----\n`;
|
|
30
|
+
return PEMKey;
|
|
31
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { isoBase64URL } from './iso/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Take a certificate in PEM format and convert it to bytes
|
|
4
|
+
*/
|
|
5
|
+
export function convertPEMToBytes(pem) {
|
|
6
|
+
const certBase64 = pem
|
|
7
|
+
.replace('-----BEGIN CERTIFICATE-----', '')
|
|
8
|
+
.replace('-----END CERTIFICATE-----', '')
|
|
9
|
+
.replace(/[\n ]/g, '');
|
|
10
|
+
return isoBase64URL.toBuffer(certBase64, 'base64');
|
|
11
|
+
}
|
package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertX509PublicKeyToCOSE.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { AsnParser } from '@peculiar/asn1-schema';
|
|
2
|
+
import { Certificate } from '@peculiar/asn1-x509';
|
|
3
|
+
import { ECParameters, id_ecPublicKey, id_secp256r1, id_secp384r1 } from '@peculiar/asn1-ecc';
|
|
4
|
+
import { id_rsaEncryption, RSAPublicKey } from '@peculiar/asn1-rsa';
|
|
5
|
+
import { COSECRV, COSEKEYS, COSEKTY, } from './cose.js';
|
|
6
|
+
import { mapX509SignatureAlgToCOSEAlg } from './mapX509SignatureAlgToCOSEAlg.js';
|
|
7
|
+
export function convertX509PublicKeyToCOSE(x509Certificate) {
|
|
8
|
+
let cosePublicKey = new Map();
|
|
9
|
+
/**
|
|
10
|
+
* Time to extract the public key from an X.509 certificate
|
|
11
|
+
*/
|
|
12
|
+
const x509 = AsnParser.parse(x509Certificate, Certificate);
|
|
13
|
+
const { tbsCertificate } = x509;
|
|
14
|
+
const { subjectPublicKeyInfo, signature: _tbsSignature } = tbsCertificate;
|
|
15
|
+
const signatureAlgorithm = _tbsSignature.algorithm;
|
|
16
|
+
const publicKeyAlgorithmID = subjectPublicKeyInfo.algorithm.algorithm;
|
|
17
|
+
if (publicKeyAlgorithmID === id_ecPublicKey) {
|
|
18
|
+
/**
|
|
19
|
+
* EC2 Public Key
|
|
20
|
+
*/
|
|
21
|
+
if (!subjectPublicKeyInfo.algorithm.parameters) {
|
|
22
|
+
throw new Error('Certificate public key was missing parameters (EC2)');
|
|
23
|
+
}
|
|
24
|
+
const ecParameters = AsnParser.parse(new Uint8Array(subjectPublicKeyInfo.algorithm.parameters), ECParameters);
|
|
25
|
+
let crv = -999;
|
|
26
|
+
const { namedCurve } = ecParameters;
|
|
27
|
+
if (namedCurve === id_secp256r1) {
|
|
28
|
+
crv = COSECRV.P256;
|
|
29
|
+
}
|
|
30
|
+
else if (namedCurve === id_secp384r1) {
|
|
31
|
+
crv = COSECRV.P384;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
throw new Error(`Certificate public key contained unexpected namedCurve ${namedCurve} (EC2)`);
|
|
35
|
+
}
|
|
36
|
+
const subjectPublicKey = new Uint8Array(subjectPublicKeyInfo.subjectPublicKey);
|
|
37
|
+
let x;
|
|
38
|
+
let y;
|
|
39
|
+
if (subjectPublicKey[0] === 0x04) {
|
|
40
|
+
// Public key is in "uncompressed form", so we can split the remaining bytes in half
|
|
41
|
+
let pointer = 1;
|
|
42
|
+
const halfLength = (subjectPublicKey.length - 1) / 2;
|
|
43
|
+
x = subjectPublicKey.slice(pointer, pointer += halfLength);
|
|
44
|
+
y = subjectPublicKey.slice(pointer);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
throw new Error('TODO: Figure out how to handle public keys in "compressed form"');
|
|
48
|
+
}
|
|
49
|
+
const coseEC2PubKey = new Map();
|
|
50
|
+
coseEC2PubKey.set(COSEKEYS.kty, COSEKTY.EC2);
|
|
51
|
+
coseEC2PubKey.set(COSEKEYS.alg, mapX509SignatureAlgToCOSEAlg(signatureAlgorithm));
|
|
52
|
+
coseEC2PubKey.set(COSEKEYS.crv, crv);
|
|
53
|
+
coseEC2PubKey.set(COSEKEYS.x, x);
|
|
54
|
+
coseEC2PubKey.set(COSEKEYS.y, y);
|
|
55
|
+
cosePublicKey = coseEC2PubKey;
|
|
56
|
+
}
|
|
57
|
+
else if (publicKeyAlgorithmID === id_rsaEncryption) {
|
|
58
|
+
/**
|
|
59
|
+
* RSA public key
|
|
60
|
+
*/
|
|
61
|
+
const rsaPublicKey = AsnParser.parse(subjectPublicKeyInfo.subjectPublicKey, RSAPublicKey);
|
|
62
|
+
const coseRSAPubKey = new Map();
|
|
63
|
+
coseRSAPubKey.set(COSEKEYS.kty, COSEKTY.RSA);
|
|
64
|
+
coseRSAPubKey.set(COSEKEYS.alg, mapX509SignatureAlgToCOSEAlg(signatureAlgorithm));
|
|
65
|
+
coseRSAPubKey.set(COSEKEYS.n, new Uint8Array(rsaPublicKey.modulus));
|
|
66
|
+
coseRSAPubKey.set(COSEKEYS.e, new Uint8Array(rsaPublicKey.publicExponent));
|
|
67
|
+
cosePublicKey = coseRSAPubKey;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
throw new Error(`Certificate public key contained unexpected algorithm ID ${publicKeyAlgorithmID}`);
|
|
71
|
+
}
|
|
72
|
+
return cosePublicKey;
|
|
73
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A type guard for determining if a COSE public key is an OKP key pair
|
|
3
|
+
*/
|
|
4
|
+
export function isCOSEPublicKeyOKP(cosePublicKey) {
|
|
5
|
+
const kty = cosePublicKey.get(COSEKEYS.kty);
|
|
6
|
+
return isCOSEKty(kty) && kty === COSEKTY.OKP;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A type guard for determining if a COSE public key is an EC2 key pair
|
|
10
|
+
*/
|
|
11
|
+
export function isCOSEPublicKeyEC2(cosePublicKey) {
|
|
12
|
+
const kty = cosePublicKey.get(COSEKEYS.kty);
|
|
13
|
+
return isCOSEKty(kty) && kty === COSEKTY.EC2;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A type guard for determining if a COSE public key is an RSA key pair
|
|
17
|
+
*/
|
|
18
|
+
export function isCOSEPublicKeyRSA(cosePublicKey) {
|
|
19
|
+
const kty = cosePublicKey.get(COSEKEYS.kty);
|
|
20
|
+
return isCOSEKty(kty) && kty === COSEKTY.RSA;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* COSE Keys
|
|
24
|
+
*
|
|
25
|
+
* https://www.iana.org/assignments/cose/cose.xhtml#key-common-parameters
|
|
26
|
+
* https://www.iana.org/assignments/cose/cose.xhtml#key-type-parameters
|
|
27
|
+
*/
|
|
28
|
+
export var COSEKEYS;
|
|
29
|
+
(function (COSEKEYS) {
|
|
30
|
+
COSEKEYS[COSEKEYS["kty"] = 1] = "kty";
|
|
31
|
+
COSEKEYS[COSEKEYS["alg"] = 3] = "alg";
|
|
32
|
+
COSEKEYS[COSEKEYS["crv"] = -1] = "crv";
|
|
33
|
+
COSEKEYS[COSEKEYS["x"] = -2] = "x";
|
|
34
|
+
COSEKEYS[COSEKEYS["y"] = -3] = "y";
|
|
35
|
+
COSEKEYS[COSEKEYS["n"] = -1] = "n";
|
|
36
|
+
COSEKEYS[COSEKEYS["e"] = -2] = "e";
|
|
37
|
+
})(COSEKEYS || (COSEKEYS = {}));
|
|
38
|
+
/**
|
|
39
|
+
* COSE Key Types
|
|
40
|
+
*
|
|
41
|
+
* https://www.iana.org/assignments/cose/cose.xhtml#key-type
|
|
42
|
+
*/
|
|
43
|
+
export var COSEKTY;
|
|
44
|
+
(function (COSEKTY) {
|
|
45
|
+
COSEKTY[COSEKTY["OKP"] = 1] = "OKP";
|
|
46
|
+
COSEKTY[COSEKTY["EC2"] = 2] = "EC2";
|
|
47
|
+
COSEKTY[COSEKTY["RSA"] = 3] = "RSA";
|
|
48
|
+
})(COSEKTY || (COSEKTY = {}));
|
|
49
|
+
export function isCOSEKty(kty) {
|
|
50
|
+
return Object.values(COSEKTY).indexOf(kty) >= 0;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* COSE Curves
|
|
54
|
+
*
|
|
55
|
+
* https://www.iana.org/assignments/cose/cose.xhtml#elliptic-curves
|
|
56
|
+
*/
|
|
57
|
+
export var COSECRV;
|
|
58
|
+
(function (COSECRV) {
|
|
59
|
+
COSECRV[COSECRV["P256"] = 1] = "P256";
|
|
60
|
+
COSECRV[COSECRV["P384"] = 2] = "P384";
|
|
61
|
+
COSECRV[COSECRV["P521"] = 3] = "P521";
|
|
62
|
+
COSECRV[COSECRV["ED25519"] = 6] = "ED25519";
|
|
63
|
+
COSECRV[COSECRV["SECP256K1"] = 8] = "SECP256K1";
|
|
64
|
+
})(COSECRV || (COSECRV = {}));
|
|
65
|
+
export function isCOSECrv(crv) {
|
|
66
|
+
return Object.values(COSECRV).indexOf(crv) >= 0;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* COSE Algorithms
|
|
70
|
+
*
|
|
71
|
+
* https://www.iana.org/assignments/cose/cose.xhtml#algorithms
|
|
72
|
+
*/
|
|
73
|
+
export var COSEALG;
|
|
74
|
+
(function (COSEALG) {
|
|
75
|
+
COSEALG[COSEALG["ES256"] = -7] = "ES256";
|
|
76
|
+
COSEALG[COSEALG["EdDSA"] = -8] = "EdDSA";
|
|
77
|
+
COSEALG[COSEALG["ES384"] = -35] = "ES384";
|
|
78
|
+
COSEALG[COSEALG["ES512"] = -36] = "ES512";
|
|
79
|
+
COSEALG[COSEALG["PS256"] = -37] = "PS256";
|
|
80
|
+
COSEALG[COSEALG["PS384"] = -38] = "PS384";
|
|
81
|
+
COSEALG[COSEALG["PS512"] = -39] = "PS512";
|
|
82
|
+
COSEALG[COSEALG["ES256K"] = -47] = "ES256K";
|
|
83
|
+
COSEALG[COSEALG["RS256"] = -257] = "RS256";
|
|
84
|
+
COSEALG[COSEALG["RS384"] = -258] = "RS384";
|
|
85
|
+
COSEALG[COSEALG["RS512"] = -259] = "RS512";
|
|
86
|
+
COSEALG[COSEALG["RS1"] = -65535] = "RS1";
|
|
87
|
+
})(COSEALG || (COSEALG = {}));
|
|
88
|
+
export function isCOSEAlg(alg) {
|
|
89
|
+
return Object.values(COSEALG).indexOf(alg) >= 0;
|
|
90
|
+
}
|
package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeAttestationObject.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { isoCBOR } from './iso/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Convert an AttestationObject buffer to a proper object
|
|
4
|
+
*
|
|
5
|
+
* @param base64AttestationObject Attestation Object buffer
|
|
6
|
+
*/
|
|
7
|
+
export function decodeAttestationObject(attestationObject) {
|
|
8
|
+
return _decodeAttestationObjectInternals.stubThis(isoCBOR.decodeFirst(attestationObject));
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Make it possible to stub the return value during testing
|
|
12
|
+
* @ignore Don't include this in docs output
|
|
13
|
+
*/
|
|
14
|
+
export const _decodeAttestationObjectInternals = {
|
|
15
|
+
stubThis: (value) => value,
|
|
16
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { isoCBOR } from './iso/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Convert authenticator extension data buffer to a proper object
|
|
4
|
+
*
|
|
5
|
+
* @param extensionData Authenticator Extension Data buffer
|
|
6
|
+
*/
|
|
7
|
+
export function decodeAuthenticatorExtensions(extensionData) {
|
|
8
|
+
let toCBOR;
|
|
9
|
+
try {
|
|
10
|
+
toCBOR = isoCBOR.decodeFirst(extensionData);
|
|
11
|
+
}
|
|
12
|
+
catch (err) {
|
|
13
|
+
const _err = err;
|
|
14
|
+
throw new Error(`Error decoding authenticator extensions: ${_err.message}`);
|
|
15
|
+
}
|
|
16
|
+
return convertMapToObjectDeep(toCBOR);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* CBOR-encoded extensions can be deeply-nested Maps, which are too deep for a simple
|
|
20
|
+
* `Object.entries()`. This method will recursively make sure that all Maps are converted into
|
|
21
|
+
* basic objects.
|
|
22
|
+
*/
|
|
23
|
+
function convertMapToObjectDeep(input) {
|
|
24
|
+
const mapped = {};
|
|
25
|
+
for (const [key, value] of input) {
|
|
26
|
+
if (value instanceof Map) {
|
|
27
|
+
mapped[key] = convertMapToObjectDeep(value);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
mapped[key] = value;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return mapped;
|
|
34
|
+
}
|
package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeClientDataJSON.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { isoBase64URL } from './iso/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Decode an authenticator's base64url-encoded clientDataJSON to JSON
|
|
4
|
+
*/
|
|
5
|
+
export function decodeClientDataJSON(data) {
|
|
6
|
+
const toString = isoBase64URL.toUTF8String(data);
|
|
7
|
+
const clientData = JSON.parse(toString);
|
|
8
|
+
return _decodeClientDataJSONInternals.stubThis(clientData);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Make it possible to stub the return value during testing
|
|
12
|
+
* @ignore Don't include this in docs output
|
|
13
|
+
*/
|
|
14
|
+
export const _decodeClientDataJSONInternals = {
|
|
15
|
+
stubThis: (value) => value,
|
|
16
|
+
};
|
package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeCredentialPublicKey.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { isoCBOR } from './iso/index.js';
|
|
2
|
+
export function decodeCredentialPublicKey(publicKey) {
|
|
3
|
+
return _decodeCredentialPublicKeyInternals.stubThis(isoCBOR.decodeFirst(publicKey));
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Make it possible to stub the return value during testing
|
|
7
|
+
* @ignore Don't include this in docs output
|
|
8
|
+
*/
|
|
9
|
+
export const _decodeCredentialPublicKeyInternals = {
|
|
10
|
+
stubThis: (value) => value,
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A simple method for requesting data via standard `fetch`. Should work
|
|
3
|
+
* across multiple runtimes.
|
|
4
|
+
*/
|
|
5
|
+
export function fetch(url) {
|
|
6
|
+
return _fetchInternals.stubThis(url);
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Make it possible to stub the return value during testing
|
|
10
|
+
* @ignore Don't include this in docs output
|
|
11
|
+
*/
|
|
12
|
+
export const _fetchInternals = {
|
|
13
|
+
stubThis: (url) => globalThis.fetch(url),
|
|
14
|
+
};
|