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.
Files changed (828) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/AgentView.DE2GDt4O.css +1 -0
  3. package/.output/public/_nuxt/BDI8xNSb.js +2 -0
  4. package/.output/public/_nuxt/BDNMzG2s.js +1 -0
  5. package/.output/public/_nuxt/BIA9pZvC.js +1 -0
  6. package/.output/public/_nuxt/Bd17z0YL.js +2 -0
  7. package/.output/public/_nuxt/BevNMnQ2.js +83 -0
  8. package/.output/public/_nuxt/BpQH8Ho1.js +1 -0
  9. package/.output/public/_nuxt/Bta8at9w.js +6 -0
  10. package/.output/public/_nuxt/CA9mI3eg.js +23 -0
  11. package/.output/public/_nuxt/CWwyK2XK.js +2 -0
  12. package/.output/public/_nuxt/CXG-cOdh.js +1 -0
  13. package/.output/public/_nuxt/Ci8N4mWR.js +1 -0
  14. package/.output/public/_nuxt/CjKICX3g.js +17 -0
  15. package/.output/public/_nuxt/D903WmCE.js +65 -0
  16. package/.output/public/_nuxt/DBu2-cEy.js +30 -0
  17. package/.output/public/_nuxt/DJE_XMLO.js +1 -0
  18. package/.output/public/_nuxt/DLLQgP0d.js +1 -0
  19. package/.output/public/_nuxt/DxO1TBoK.js +1 -0
  20. package/.output/public/_nuxt/SiL1FJ5s.js +3 -0
  21. package/.output/public/_nuxt/archivo-latin-ext-wght-normal.C4zznr8T.woff2 +0 -0
  22. package/.output/public/_nuxt/archivo-latin-wght-normal.E0tuGl4L.woff2 +0 -0
  23. package/.output/public/_nuxt/archivo-vietnamese-wght-normal.XAtsl5Q_.woff2 +0 -0
  24. package/.output/public/_nuxt/bLP7Jj-b.js +1 -0
  25. package/.output/public/_nuxt/builds/latest.json +1 -0
  26. package/.output/public/_nuxt/builds/meta/211609c0-be04-46c5-a6b0-566bc0c4a3dd.json +1 -0
  27. package/.output/public/_nuxt/e5N4AqCN.js +93 -0
  28. package/.output/public/_nuxt/entry.SHBiCXBL.css +2 -0
  29. package/.output/public/_nuxt/error-404.Bb87HomL.css +1 -0
  30. package/.output/public/_nuxt/error-500.Bwd7zAaE.css +1 -0
  31. package/.output/public/_nuxt/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
  32. package/.output/public/_nuxt/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
  33. package/.output/public/_nuxt/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
  34. package/.output/public/_nuxt/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
  35. package/.output/public/_nuxt/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
  36. package/.output/public/_nuxt/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
  37. package/.output/public/_nuxt/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
  38. package/.output/public/_nuxt/jetbrains-mono-cyrillic-wght-normal.D73BlboJ.woff2 +0 -0
  39. package/.output/public/_nuxt/jetbrains-mono-greek-wght-normal.Bw9x6K1M.woff2 +0 -0
  40. package/.output/public/_nuxt/jetbrains-mono-latin-ext-wght-normal.DBQx-q_a.woff2 +0 -0
  41. package/.output/public/_nuxt/jetbrains-mono-latin-wght-normal.B9CIFXIH.woff2 +0 -0
  42. package/.output/public/_nuxt/jetbrains-mono-vietnamese-wght-normal.Bt-aOZkq.woff2 +0 -0
  43. package/.output/public/_nuxt/wherdr-nerd-awesome.DQ3_iAfa.woff2 +0 -0
  44. package/.output/public/_nuxt/wherdr-nerd-codicons.CtEsfSAf.woff2 +0 -0
  45. package/.output/public/_nuxt/wherdr-nerd-devicons.ZMSFX1sW.woff2 +0 -0
  46. package/.output/public/_nuxt/wherdr-nerd-extension.Dai_ky39.woff2 +0 -0
  47. package/.output/public/_nuxt/wherdr-nerd-material-1.BdvqkCqW.woff2 +0 -0
  48. package/.output/public/_nuxt/wherdr-nerd-material-2.C_flbBWO.woff2 +0 -0
  49. package/.output/public/_nuxt/wherdr-nerd-material-3.8xz7iX-Y.woff2 +0 -0
  50. package/.output/public/_nuxt/wherdr-nerd-material-4.CO_PudDR.woff2 +0 -0
  51. package/.output/public/_nuxt/wherdr-nerd-octicons.Hl4VEx8m.woff2 +0 -0
  52. package/.output/public/_nuxt/wherdr-nerd-powerline.B_kAMxXr.woff2 +0 -0
  53. package/.output/public/_nuxt/wherdr-symbols.C1LsPKmg.woff2 +0 -0
  54. package/.output/public/_nuxt/yzABg5xl.js +1 -0
  55. package/.output/public/manifest-en.webmanifest +18 -0
  56. package/.output/public/manifest.webmanifest +18 -0
  57. package/.output/public/sw.js +99 -0
  58. package/.output/server/chunks/_/awake.mjs +170 -0
  59. package/.output/server/chunks/_/branding.mjs +28 -0
  60. package/.output/server/chunks/_/changes.mjs +199 -0
  61. package/.output/server/chunks/_/error-500.mjs +20 -0
  62. package/.output/server/chunks/_/machineOrder.mjs +40 -0
  63. package/.output/server/chunks/_/onboarding.mjs +26 -0
  64. package/.output/server/chunks/_/phone.mjs +343 -0
  65. package/.output/server/chunks/_/plugins.mjs +248 -0
  66. package/.output/server/chunks/_/projectBoard.mjs +275 -0
  67. package/.output/server/chunks/_/projectsActions.mjs +143 -0
  68. package/.output/server/chunks/_/projectsPlugin.mjs +56 -0
  69. package/.output/server/chunks/_/restart.mjs +459 -0
  70. package/.output/server/chunks/_/reveal.mjs +137 -0
  71. package/.output/server/chunks/_/worktrees.mjs +74 -0
  72. package/.output/server/chunks/_/ws.mjs +57 -0
  73. package/.output/server/chunks/nitro/nitro.mjs +20691 -0
  74. package/.output/server/chunks/raw/apple-touch-icon.mjs +7 -0
  75. package/.output/server/chunks/raw/build-nerd-font.mjs +7 -0
  76. package/.output/server/chunks/raw/build-terminal-font.mjs +7 -0
  77. package/.output/server/chunks/raw/check-leaks.mjs +5 -0
  78. package/.output/server/chunks/raw/dev.wherdr.open.mjs +7 -0
  79. package/.output/server/chunks/raw/docker-entrypoint.mjs +7 -0
  80. package/.output/server/chunks/raw/favicon-32.mjs +7 -0
  81. package/.output/server/chunks/raw/favicon.mjs +7 -0
  82. package/.output/server/chunks/raw/herdr-plugin.mjs +7 -0
  83. package/.output/server/chunks/raw/icon-192.mjs +7 -0
  84. package/.output/server/chunks/raw/icon-512-maskable.mjs +7 -0
  85. package/.output/server/chunks/raw/icon-512.mjs +7 -0
  86. package/.output/server/chunks/raw/icon-maskable.mjs +7 -0
  87. package/.output/server/chunks/raw/icon.mjs +7 -0
  88. package/.output/server/chunks/raw/install-claude-statusline.mjs +7 -0
  89. package/.output/server/chunks/raw/install-host-open.mjs +7 -0
  90. package/.output/server/chunks/raw/pack-output.mjs +5 -0
  91. package/.output/server/chunks/raw/reveal.mjs +7 -0
  92. package/.output/server/chunks/raw/wherdr-open.mjs +7 -0
  93. package/.output/server/chunks/routes/api/_..._.mjs +30 -0
  94. package/.output/server/chunks/routes/api/agents.post.mjs +30 -0
  95. package/.output/server/chunks/routes/api/ask-tab.post.mjs +49 -0
  96. package/.output/server/chunks/routes/api/attach.post.mjs +35 -0
  97. package/.output/server/chunks/routes/api/auth/disable.post.mjs +30 -0
  98. package/.output/server/chunks/routes/api/auth/lock-all.post.mjs +30 -0
  99. package/.output/server/chunks/routes/api/auth/lock.post.mjs +30 -0
  100. package/.output/server/chunks/routes/api/auth/login/options.post.mjs +30 -0
  101. package/.output/server/chunks/routes/api/auth/login/verify.post.mjs +30 -0
  102. package/.output/server/chunks/routes/api/auth/max-session.post.mjs +30 -0
  103. package/.output/server/chunks/routes/api/auth/register/options.post.mjs +30 -0
  104. package/.output/server/chunks/routes/api/auth/register/verify.post.mjs +30 -0
  105. package/.output/server/chunks/routes/api/auth/status.get.mjs +33 -0
  106. package/.output/server/chunks/routes/api/changes.get.mjs +38 -0
  107. package/.output/server/chunks/routes/api/chat/image.get.mjs +40 -0
  108. package/.output/server/chunks/routes/api/chat.get.mjs +93 -0
  109. package/.output/server/chunks/routes/api/choose.post.mjs +135 -0
  110. package/.output/server/chunks/routes/api/claude-statusline.post.mjs +35 -0
  111. package/.output/server/chunks/routes/api/close/status.get.mjs +36 -0
  112. package/.output/server/chunks/routes/api/close.post.mjs +37 -0
  113. package/.output/server/chunks/routes/api/codex-update.post.mjs +41 -0
  114. package/.output/server/chunks/routes/api/commands.get.mjs +42 -0
  115. package/.output/server/chunks/routes/api/config.get.mjs +86 -0
  116. package/.output/server/chunks/routes/api/dirs.get.mjs +33 -0
  117. package/.output/server/chunks/routes/api/dismiss.post.mjs +33 -0
  118. package/.output/server/chunks/routes/api/effort.post.mjs +36 -0
  119. package/.output/server/chunks/routes/api/efforts.get.mjs +37 -0
  120. package/.output/server/chunks/routes/api/file.post.mjs +34 -0
  121. package/.output/server/chunks/routes/api/gitroot.get.mjs +37 -0
  122. package/.output/server/chunks/routes/api/index.get.mjs +36 -0
  123. package/.output/server/chunks/routes/api/input.post.mjs +43 -0
  124. package/.output/server/chunks/routes/api/interrupt.post.mjs +48 -0
  125. package/.output/server/chunks/routes/api/isgit.get.mjs +37 -0
  126. package/.output/server/chunks/routes/api/machine/awake.get.mjs +39 -0
  127. package/.output/server/chunks/routes/api/machine/awake.post.mjs +40 -0
  128. package/.output/server/chunks/routes/api/machine/order.get.mjs +31 -0
  129. package/.output/server/chunks/routes/api/machine/order.post.mjs +36 -0
  130. package/.output/server/chunks/routes/api/machine/rename.post.mjs +39 -0
  131. package/.output/server/chunks/routes/api/menu.post.mjs +76 -0
  132. package/.output/server/chunks/routes/api/model.post.mjs +36 -0
  133. package/.output/server/chunks/routes/api/models.get.mjs +35 -0
  134. package/.output/server/chunks/routes/api/nav.post.mjs +58 -0
  135. package/.output/server/chunks/routes/api/onboarding.get.mjs +31 -0
  136. package/.output/server/chunks/routes/api/onboarding.post.mjs +34 -0
  137. package/.output/server/chunks/routes/api/phone.get.mjs +38 -0
  138. package/.output/server/chunks/routes/api/phone.post.mjs +38 -0
  139. package/.output/server/chunks/routes/api/plugins/actions.get.mjs +36 -0
  140. package/.output/server/chunks/routes/api/plugins/invoke.post.mjs +33 -0
  141. package/.output/server/chunks/routes/api/plugins/profiles.get.mjs +35 -0
  142. package/.output/server/chunks/routes/api/plugins/projects.get.mjs +37 -0
  143. package/.output/server/chunks/routes/api/plugins/projects.post.mjs +37 -0
  144. package/.output/server/chunks/routes/api/plugins/thread-limits.get.mjs +30 -0
  145. package/.output/server/chunks/routes/api/plugins/thread-limits.post.mjs +40 -0
  146. package/.output/server/chunks/routes/api/project/report.get.mjs +36 -0
  147. package/.output/server/chunks/routes/api/prompt.post.mjs +87 -0
  148. package/.output/server/chunks/routes/api/push/quiet.post.mjs +49 -0
  149. package/.output/server/chunks/routes/api/push/subscribe.post.mjs +51 -0
  150. package/.output/server/chunks/routes/api/push/test.post.mjs +32 -0
  151. package/.output/server/chunks/routes/api/push/unsubscribe.post.mjs +34 -0
  152. package/.output/server/chunks/routes/api/quotas.get.mjs +30 -0
  153. package/.output/server/chunks/routes/api/rename.post.mjs +36 -0
  154. package/.output/server/chunks/routes/api/requeue.post.mjs +34 -0
  155. package/.output/server/chunks/routes/api/restart.get.mjs +38 -0
  156. package/.output/server/chunks/routes/api/restart.post.mjs +39 -0
  157. package/.output/server/chunks/routes/api/reveal.post.mjs +31 -0
  158. package/.output/server/chunks/routes/api/screen-key.post.mjs +41 -0
  159. package/.output/server/chunks/routes/api/screen.get.mjs +76 -0
  160. package/.output/server/chunks/routes/api/search.get.mjs +76 -0
  161. package/.output/server/chunks/routes/api/seen.post.mjs +33 -0
  162. package/.output/server/chunks/routes/api/sessions.get.mjs +33 -0
  163. package/.output/server/chunks/routes/api/sessions.post.mjs +33 -0
  164. package/.output/server/chunks/routes/api/space.post.mjs +258 -0
  165. package/.output/server/chunks/routes/api/state.get.mjs +30 -0
  166. package/.output/server/chunks/routes/api/unqueue.post.mjs +35 -0
  167. package/.output/server/chunks/routes/api/update.get.mjs +78 -0
  168. package/.output/server/chunks/routes/api/upload.post.mjs +33 -0
  169. package/.output/server/chunks/routes/api/worktrees/remove.post.mjs +34 -0
  170. package/.output/server/chunks/routes/api/worktrees.get.mjs +31 -0
  171. package/.output/server/chunks/routes/favicon.ico.get.mjs +31 -0
  172. package/.output/server/chunks/routes/icons/_name_.get.mjs +31 -0
  173. package/.output/server/chunks/routes/renderer.mjs +358 -0
  174. package/.output/server/chunks/routes/uploads/_...name_.get.mjs +39 -0
  175. package/.output/server/chunks/routes/ws/_..._.mjs +32 -0
  176. package/.output/server/chunks/routes/ws/events.mjs +57 -0
  177. package/.output/server/chunks/routes/ws/mirror.mjs +157 -0
  178. package/.output/server/chunks/routes/ws/term.mjs +151 -0
  179. package/.output/server/chunks/virtual/_raw-helpers.mjs +12 -0
  180. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  181. package/.output/server/chunks/virtual/precomputed.mjs +4 -0
  182. package/.output/server/index.mjs +26 -0
  183. package/.output/server/node_modules/@babel/parser/lib/index.js +14616 -0
  184. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  185. package/.output/server/node_modules/@hexagon/base64/package.json +73 -0
  186. package/.output/server/node_modules/@hexagon/base64/src/base64.js +190 -0
  187. package/.output/server/node_modules/@levischuck/tiny-cbor/esm/cbor/cbor.js +440 -0
  188. package/.output/server/node_modules/@levischuck/tiny-cbor/esm/cbor/cbor_internal.js +111 -0
  189. package/.output/server/node_modules/@levischuck/tiny-cbor/esm/index.js +1 -0
  190. package/.output/server/node_modules/@levischuck/tiny-cbor/esm/package.json +3 -0
  191. package/.output/server/node_modules/@levischuck/tiny-cbor/package.json +25 -0
  192. package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/attestation.js +34 -0
  193. package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/index.js +3 -0
  194. package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/key_description.js +512 -0
  195. package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/nonstandard.js +103 -0
  196. package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/package.json +3 -0
  197. package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/modules/index.js +70 -0
  198. package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/modules/package.json +3 -0
  199. package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/package.json +47 -0
  200. package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/tslib.js +484 -0
  201. package/.output/server/node_modules/@peculiar/asn1-android/package.json +64 -0
  202. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attribute.js +22 -0
  203. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/counter_signature.js +13 -0
  204. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/index.js +8 -0
  205. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/message_digest.js +8 -0
  206. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/signing_time.js +13 -0
  207. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/certificate_choices.js +64 -0
  208. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/content_info.js +22 -0
  209. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/encapsulated_content_info.js +40 -0
  210. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/encrypted_content_info.js +56 -0
  211. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/enveloped_data.js +60 -0
  212. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/index.js +24 -0
  213. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/issuer_and_serial_number.js +23 -0
  214. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/kek_recipient_info.js +53 -0
  215. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/key_agree_recipient_info.js +167 -0
  216. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/key_trans_recipient_info.js +51 -0
  217. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/object_identifiers.js +10 -0
  218. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/originator_info.js +31 -0
  219. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/other_key_attribute.js +22 -0
  220. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/password_recipient_info.js +32 -0
  221. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/recipient_info.js +75 -0
  222. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/recipient_infos.js +20 -0
  223. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/revocation_info_choice.js +54 -0
  224. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signed_data.js +64 -0
  225. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signer_identifier.js +28 -0
  226. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signer_info.js +70 -0
  227. package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/types.js +51 -0
  228. package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/modules/index.js +70 -0
  229. package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/modules/package.json +3 -0
  230. package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/package.json +47 -0
  231. package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/tslib.js +484 -0
  232. package/.output/server/node_modules/@peculiar/asn1-cms/package.json +65 -0
  233. package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/attributes.js +20 -0
  234. package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/certification_request.js +29 -0
  235. package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/certification_request_info.js +34 -0
  236. package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/index.js +6 -0
  237. package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/modules/index.js +70 -0
  238. package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/modules/package.json +3 -0
  239. package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/package.json +47 -0
  240. package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/tslib.js +484 -0
  241. package/.output/server/node_modules/@peculiar/asn1-csr/package.json +65 -0
  242. package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/algorithms.js +14 -0
  243. package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_parameters.js +27 -0
  244. package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_private_key.js +36 -0
  245. package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_signature_value.js +25 -0
  246. package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/index.js +9 -0
  247. package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/object_identifiers.js +26 -0
  248. package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/rfc3279.js +95 -0
  249. package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/algorithms.js +10 -0
  250. package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_parameters.js +24 -0
  251. package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_private_key.js +32 -0
  252. package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_signature_value.js +21 -0
  253. package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/index.js +6 -0
  254. package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/object_identifiers.js +23 -0
  255. package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/package.json +3 -0
  256. package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/rfc3279.js +90 -0
  257. package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/modules/index.js +70 -0
  258. package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/modules/package.json +3 -0
  259. package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/package.json +47 -0
  260. package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/tslib.js +484 -0
  261. package/.output/server/node_modules/@peculiar/asn1-ecc/package.json +66 -0
  262. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/attribute.js +36 -0
  263. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/authenticated_safe.js +20 -0
  264. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/cert_bag.js +26 -0
  265. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/crl_bag.js +25 -0
  266. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/index.js +9 -0
  267. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/key_bag.js +12 -0
  268. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/pkcs8_shrouded_key_bag.js +12 -0
  269. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/secret_bag.js +22 -0
  270. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/types.js +11 -0
  271. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/index.js +10 -0
  272. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/mac_data.js +27 -0
  273. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/object_identifiers.js +14 -0
  274. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/pfx.js +28 -0
  275. package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/safe_bag.js +45 -0
  276. package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/modules/index.js +70 -0
  277. package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/modules/package.json +3 -0
  278. package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/package.json +47 -0
  279. package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/tslib.js +484 -0
  280. package/.output/server/node_modules/@peculiar/asn1-pfx/package.json +67 -0
  281. package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/encrypted_private_key_info.js +23 -0
  282. package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/index.js +5 -0
  283. package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/private_key_info.js +54 -0
  284. package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/modules/index.js +70 -0
  285. package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/modules/package.json +3 -0
  286. package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/package.json +47 -0
  287. package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/tslib.js +484 -0
  288. package/.output/server/node_modules/@peculiar/asn1-pkcs8/package.json +63 -0
  289. package/.output/server/node_modules/@peculiar/asn1-pkcs9/build/cjs/index.js +301 -0
  290. package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/modules/index.js +70 -0
  291. package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/modules/package.json +3 -0
  292. package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/package.json +47 -0
  293. package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/tslib.js +484 -0
  294. package/.output/server/node_modules/@peculiar/asn1-pkcs9/package.json +67 -0
  295. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/algorithms.js +40 -0
  296. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/index.js +9 -0
  297. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/object_identifiers.js +28 -0
  298. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/other_prime_info.js +46 -0
  299. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/index.js +6 -0
  300. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsaes_oaep.js +45 -0
  301. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pkcs1_v1_5.js +20 -0
  302. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pss.js +53 -0
  303. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/rsa_private_key.js +79 -0
  304. package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/rsa_public_key.js +25 -0
  305. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/algorithms.js +36 -0
  306. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/index.js +6 -0
  307. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/object_identifiers.js +25 -0
  308. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/other_prime_info.js +42 -0
  309. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/package.json +3 -0
  310. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/index.js +3 -0
  311. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsaes_oaep.js +41 -0
  312. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsassa_pkcs1_v1_5.js +16 -0
  313. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsassa_pss.js +49 -0
  314. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/rsa_private_key.js +75 -0
  315. package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/rsa_public_key.js +21 -0
  316. package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/modules/index.js +70 -0
  317. package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/modules/package.json +3 -0
  318. package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/package.json +47 -0
  319. package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/tslib.js +484 -0
  320. package/.output/server/node_modules/@peculiar/asn1-rsa/package.json +64 -0
  321. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/convert.js +25 -0
  322. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/converters.js +148 -0
  323. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/decorators.js +52 -0
  324. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/enums.js +40 -0
  325. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/errors/index.js +4 -0
  326. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/errors/schema_validation.js +7 -0
  327. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/helper.js +44 -0
  328. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/index.js +22 -0
  329. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/objects.js +17 -0
  330. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/parser.js +313 -0
  331. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/schema.js +165 -0
  332. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/serializer.js +150 -0
  333. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/storage.js +5 -0
  334. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/bit_string.js +71 -0
  335. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/index.js +5 -0
  336. package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/octet_string.js +45 -0
  337. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/convert.js +20 -0
  338. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/converters.js +143 -0
  339. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/decorators.js +43 -0
  340. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/enums.js +37 -0
  341. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/errors/index.js +1 -0
  342. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/errors/schema_validation.js +3 -0
  343. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/helper.js +39 -0
  344. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/index.js +9 -0
  345. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/objects.js +13 -0
  346. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/package.json +3 -0
  347. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/parser.js +308 -0
  348. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/schema.js +160 -0
  349. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/serializer.js +145 -0
  350. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/storage.js +2 -0
  351. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/bit_string.js +66 -0
  352. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/index.js +2 -0
  353. package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/octet_string.js +40 -0
  354. package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/modules/index.js +70 -0
  355. package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/modules/package.json +3 -0
  356. package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/package.json +47 -0
  357. package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/tslib.js +484 -0
  358. package/.output/server/node_modules/@peculiar/asn1-schema/package.json +74 -0
  359. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/algorithm_identifier.js +28 -0
  360. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/attribute.js +22 -0
  361. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/certificate.js +29 -0
  362. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/certificate_list.js +29 -0
  363. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extension.js +41 -0
  364. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/authority_information_access.js +36 -0
  365. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/authority_key_identifier.js +48 -0
  366. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/basic_constraints.js +27 -0
  367. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/certificate_issuer.js +19 -0
  368. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/certificate_policies.js +136 -0
  369. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_delta_indicator.js +14 -0
  370. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_distribution_points.js +132 -0
  371. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_freshest.js +22 -0
  372. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_issuing_distribution_point.js +68 -0
  373. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_number.js +20 -0
  374. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_reason.js +39 -0
  375. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/entrust_version_info.js +46 -0
  376. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/extended_key_usage.js +28 -0
  377. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/index.js +28 -0
  378. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/inhibit_any_policy.js +23 -0
  379. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/invalidity_date.js +22 -0
  380. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/issuer_alternative_name.js +19 -0
  381. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/key_usage.js +56 -0
  382. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/name_constraints.js +74 -0
  383. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/policy_constraints.js +33 -0
  384. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/policy_mappings.js +35 -0
  385. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/private_key_usage_period.js +31 -0
  386. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_alternative_name.js +19 -0
  387. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_directory_attributes.js +22 -0
  388. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_info_access.js +22 -0
  389. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_key_identifier.js +9 -0
  390. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/general_name.js +132 -0
  391. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/general_names.js +20 -0
  392. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/index.js +19 -0
  393. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/ip_converter.js +177 -0
  394. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/name.js +110 -0
  395. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/object_identifiers.js +16 -0
  396. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/subject_public_key_info.js +20 -0
  397. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/tbs_cert_list.js +83 -0
  398. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/tbs_certificate.js +78 -0
  399. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/time.js +43 -0
  400. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/types.js +9 -0
  401. package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/validity.js +23 -0
  402. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/algorithm_identifier.js +24 -0
  403. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/attribute.js +18 -0
  404. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/certificate.js +25 -0
  405. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/certificate_list.js +25 -0
  406. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extension.js +37 -0
  407. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/authority_information_access.js +32 -0
  408. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/authority_key_identifier.js +43 -0
  409. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/basic_constraints.js +23 -0
  410. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/certificate_issuer.js +16 -0
  411. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/certificate_policies.js +129 -0
  412. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_delta_indicator.js +11 -0
  413. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_distribution_points.js +127 -0
  414. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_freshest.js +19 -0
  415. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_issuing_distribution_point.js +64 -0
  416. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_number.js +17 -0
  417. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_reason.js +36 -0
  418. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/entrust_version_info.js +41 -0
  419. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/extended_key_usage.js +25 -0
  420. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/index.js +25 -0
  421. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/inhibit_any_policy.js +20 -0
  422. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/invalidity_date.js +19 -0
  423. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/issuer_alternative_name.js +16 -0
  424. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/key_usage.js +52 -0
  425. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/name_constraints.js +69 -0
  426. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/policy_constraints.js +29 -0
  427. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/policy_mappings.js +31 -0
  428. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/private_key_usage_period.js +27 -0
  429. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_alternative_name.js +16 -0
  430. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_directory_attributes.js +19 -0
  431. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_info_access.js +19 -0
  432. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_key_identifier.js +5 -0
  433. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/general_name.js +127 -0
  434. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/general_names.js +17 -0
  435. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/index.js +16 -0
  436. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/ip_converter.js +173 -0
  437. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/name.js +106 -0
  438. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/object_identifiers.js +13 -0
  439. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/package.json +3 -0
  440. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/subject_public_key_info.js +16 -0
  441. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/tbs_cert_list.js +78 -0
  442. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/tbs_certificate.js +74 -0
  443. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/time.js +40 -0
  444. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/types.js +6 -0
  445. package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/validity.js +19 -0
  446. package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/modules/index.js +70 -0
  447. package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/modules/package.json +3 -0
  448. package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/package.json +47 -0
  449. package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/tslib.js +484 -0
  450. package/.output/server/node_modules/@peculiar/asn1-x509/package.json +64 -0
  451. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/aa_clear_attrs.js +27 -0
  452. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/aa_controls.js +44 -0
  453. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_cert_issuer.js +31 -0
  454. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_cert_validity_period.js +19 -0
  455. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_spec.js +19 -0
  456. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attribute_certificate.js +25 -0
  457. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attribute_certificate_info.js +67 -0
  458. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/class_list.js +16 -0
  459. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/clearance.js +31 -0
  460. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/holder.js +41 -0
  461. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/ietf_attr_syntax.js +46 -0
  462. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/index.js +23 -0
  463. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/issuer_serial.js +30 -0
  464. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/object_digest_info.js +37 -0
  465. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/object_identifiers.js +17 -0
  466. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/proxy_info.js +20 -0
  467. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/role_syntax.js +29 -0
  468. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/security_category.js +27 -0
  469. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/svce_auth_info.js +27 -0
  470. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/target.js +79 -0
  471. package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/v2_form.js +39 -0
  472. package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/modules/index.js +70 -0
  473. package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/modules/package.json +3 -0
  474. package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/package.json +47 -0
  475. package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/tslib.js +484 -0
  476. package/.output/server/node_modules/@peculiar/asn1-x509-attr/package.json +64 -0
  477. package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/buffer-source.js +115 -0
  478. package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/concat.js +41 -0
  479. package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/equal.js +17 -0
  480. package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/index.js +31 -0
  481. package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/sequence.js +161 -0
  482. package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/convert.js +74 -0
  483. package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/defaults.js +72 -0
  484. package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/index.js +18 -0
  485. package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/registry.js +188 -0
  486. package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/base64.js +48 -0
  487. package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/base64url.js +26 -0
  488. package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/binary.js +26 -0
  489. package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/hex.js +229 -0
  490. package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/index.js +10 -0
  491. package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/utf16.js +24 -0
  492. package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/utf8.js +13 -0
  493. package/.output/server/node_modules/@peculiar/utils/build/cjs/index.js +10 -0
  494. package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/buffer-source-converter.js +37 -0
  495. package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/convert.js +72 -0
  496. package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/functions.js +23 -0
  497. package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/index.js +11 -0
  498. package/.output/server/node_modules/@peculiar/utils/build/cjs/package.json +3 -0
  499. package/.output/server/node_modules/@peculiar/utils/build/cjs/pem/index.js +14 -0
  500. package/.output/server/node_modules/@peculiar/utils/build/cjs/pem/pem.js +140 -0
  501. package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/buffer-source.js +101 -0
  502. package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/concat.js +37 -0
  503. package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/equal.js +14 -0
  504. package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/index.js +4 -0
  505. package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/sequence.js +150 -0
  506. package/.output/server/node_modules/@peculiar/utils/build/esm/converters/convert.js +71 -0
  507. package/.output/server/node_modules/@peculiar/utils/build/esm/converters/defaults.js +68 -0
  508. package/.output/server/node_modules/@peculiar/utils/build/esm/converters/index.js +3 -0
  509. package/.output/server/node_modules/@peculiar/utils/build/esm/converters/registry.js +185 -0
  510. package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/base64.js +40 -0
  511. package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/base64url.js +19 -0
  512. package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/binary.js +20 -0
  513. package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/hex.js +220 -0
  514. package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/index.js +6 -0
  515. package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/utf16.js +19 -0
  516. package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/utf8.js +8 -0
  517. package/.output/server/node_modules/@peculiar/utils/build/esm/index.js +6 -0
  518. package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/buffer-source-converter.js +33 -0
  519. package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/convert.js +68 -0
  520. package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/functions.js +18 -0
  521. package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/index.js +3 -0
  522. package/.output/server/node_modules/@peculiar/utils/build/esm/pem/index.js +1 -0
  523. package/.output/server/node_modules/@peculiar/utils/build/esm/pem/pem.js +129 -0
  524. package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/modules/index.js +70 -0
  525. package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/modules/package.json +3 -0
  526. package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/package.json +47 -0
  527. package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/tslib.js +484 -0
  528. package/.output/server/node_modules/@peculiar/utils/package.json +111 -0
  529. package/.output/server/node_modules/@peculiar/x509/build/x509.cjs.js +3445 -0
  530. package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/modules/index.js +70 -0
  531. package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/modules/package.json +3 -0
  532. package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/package.json +47 -0
  533. package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/tslib.js +484 -0
  534. package/.output/server/node_modules/@peculiar/x509/package.json +94 -0
  535. package/.output/server/node_modules/@simplewebauthn/server/esm/authentication/generateAuthenticationOptions.js +41 -0
  536. package/.output/server/node_modules/@simplewebauthn/server/esm/authentication/verifyAuthenticationResponse.js +171 -0
  537. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertAAGUIDToString.js +17 -0
  538. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertCOSEtoPKCS.js +21 -0
  539. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertCertBufferToPEM.js +31 -0
  540. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertPEMToBytes.js +11 -0
  541. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertX509PublicKeyToCOSE.js +73 -0
  542. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/cose.js +90 -0
  543. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeAttestationObject.js +16 -0
  544. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeAuthenticatorExtensions.js +34 -0
  545. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeClientDataJSON.js +16 -0
  546. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeCredentialPublicKey.js +11 -0
  547. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/fetch.js +14 -0
  548. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/generateChallenge.js +24 -0
  549. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/generateUserID.js +20 -0
  550. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/getCertificateInfo.js +77 -0
  551. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/index.js +17 -0
  552. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/isCertRevoked.js +96 -0
  553. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/index.js +11 -0
  554. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoBase64URL.js +72 -0
  555. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCBOR.js +35 -0
  556. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/digest.js +14 -0
  557. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/getRandomValues.js +11 -0
  558. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/getWebCrypto.js +49 -0
  559. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/importKey.js +8 -0
  560. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/index.js +7 -0
  561. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/mapCoseAlgToWebCryptoAlg.js +20 -0
  562. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/mapCoseAlgToWebCryptoKeyAlgName.js +19 -0
  563. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/unwrapEC2Signature.js +73 -0
  564. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verify.js +32 -0
  565. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyEC2.js +73 -0
  566. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyOKP.js +51 -0
  567. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyRSA.js +91 -0
  568. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoUint8Array.js +79 -0
  569. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/logging.js +19 -0
  570. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/mapJWSAlgToCOSEAlg.js +31 -0
  571. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/mapX509SignatureAlgToCOSEAlg.js +35 -0
  572. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/matchExpectedRPID.js +41 -0
  573. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/parseAuthenticatorData.js +106 -0
  574. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/parseBackupFlags.js +25 -0
  575. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/toHash.js +12 -0
  576. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/validateCertificatePath.js +134 -0
  577. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/validateExtFIDOGenCEAAGUID.js +34 -0
  578. package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/verifySignature.js +35 -0
  579. package/.output/server/node_modules/@simplewebauthn/server/esm/index.js +8 -0
  580. package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/mdsTypes.js +17 -0
  581. package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/parseJWT.js +12 -0
  582. package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyAttestationWithMetadata.js +159 -0
  583. package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyJWT.js +42 -0
  584. package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyMDSBlob.js +59 -0
  585. package/.output/server/node_modules/@simplewebauthn/server/esm/package.json +3 -0
  586. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/generateRegistrationOptions.js +181 -0
  587. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/constants.js +137 -0
  588. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/parseCertInfo.js +58 -0
  589. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/parsePubArea.js +94 -0
  590. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/verifyAttestationTPM.js +331 -0
  591. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationAndroidKey.js +120 -0
  592. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationAndroidSafetyNet.js +113 -0
  593. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationApple.js +58 -0
  594. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationFIDOU2F.js +48 -0
  595. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationPacked.js +113 -0
  596. package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifyRegistrationResponse.js +213 -0
  597. package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/android-key.js +171 -0
  598. package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/android-safetynet.js +32 -0
  599. package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/apple.js +25 -0
  600. package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/mds.js +74 -0
  601. package/.output/server/node_modules/@simplewebauthn/server/esm/services/metadataService.js +268 -0
  602. package/.output/server/node_modules/@simplewebauthn/server/esm/services/settingsService.js +74 -0
  603. package/.output/server/node_modules/@simplewebauthn/server/esm/types/index.js +1 -0
  604. package/.output/server/node_modules/@simplewebauthn/server/package.json +65 -0
  605. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
  606. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  607. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
  608. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  609. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
  610. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  611. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1905 -0
  612. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  613. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +7006 -0
  614. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  615. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1867 -0
  616. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  617. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
  618. package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
  619. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +655 -0
  620. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  621. package/.output/server/node_modules/agent-base/dist/helpers.js +66 -0
  622. package/.output/server/node_modules/agent-base/dist/index.js +178 -0
  623. package/.output/server/node_modules/agent-base/package.json +46 -0
  624. package/.output/server/node_modules/asn1.js/lib/asn1/api.js +57 -0
  625. package/.output/server/node_modules/asn1.js/lib/asn1/base/buffer.js +153 -0
  626. package/.output/server/node_modules/asn1.js/lib/asn1/base/index.js +8 -0
  627. package/.output/server/node_modules/asn1.js/lib/asn1/base/node.js +638 -0
  628. package/.output/server/node_modules/asn1.js/lib/asn1/base/reporter.js +123 -0
  629. package/.output/server/node_modules/asn1.js/lib/asn1/constants/der.js +58 -0
  630. package/.output/server/node_modules/asn1.js/lib/asn1/constants/index.js +21 -0
  631. package/.output/server/node_modules/asn1.js/lib/asn1/decoders/der.js +335 -0
  632. package/.output/server/node_modules/asn1.js/lib/asn1/decoders/index.js +6 -0
  633. package/.output/server/node_modules/asn1.js/lib/asn1/decoders/pem.js +51 -0
  634. package/.output/server/node_modules/asn1.js/lib/asn1/encoders/der.js +295 -0
  635. package/.output/server/node_modules/asn1.js/lib/asn1/encoders/index.js +6 -0
  636. package/.output/server/node_modules/asn1.js/lib/asn1/encoders/pem.js +23 -0
  637. package/.output/server/node_modules/asn1.js/lib/asn1.js +11 -0
  638. package/.output/server/node_modules/asn1.js/package.json +36 -0
  639. package/.output/server/node_modules/asn1js/build/index.js +3266 -0
  640. package/.output/server/node_modules/asn1js/package.json +86 -0
  641. package/.output/server/node_modules/bn.js/lib/bn.js +3463 -0
  642. package/.output/server/node_modules/bn.js/package.json +36 -0
  643. package/.output/server/node_modules/buffer-equal-constant-time/index.js +41 -0
  644. package/.output/server/node_modules/buffer-equal-constant-time/package.json +21 -0
  645. package/.output/server/node_modules/debug/package.json +64 -0
  646. package/.output/server/node_modules/debug/src/browser.js +272 -0
  647. package/.output/server/node_modules/debug/src/common.js +292 -0
  648. package/.output/server/node_modules/debug/src/index.js +10 -0
  649. package/.output/server/node_modules/debug/src/node.js +263 -0
  650. package/.output/server/node_modules/devalue/index.js +17 -0
  651. package/.output/server/node_modules/devalue/package.json +39 -0
  652. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  653. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  654. package/.output/server/node_modules/devalue/src/operations.js +221 -0
  655. package/.output/server/node_modules/devalue/src/parse.js +279 -0
  656. package/.output/server/node_modules/devalue/src/stringify.js +433 -0
  657. package/.output/server/node_modules/devalue/src/uneval.js +698 -0
  658. package/.output/server/node_modules/devalue/src/utils.js +190 -0
  659. package/.output/server/node_modules/ecdsa-sig-formatter/package.json +46 -0
  660. package/.output/server/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  661. package/.output/server/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  662. package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  663. package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
  664. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  665. package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  666. package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  667. package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  668. package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
  669. package/.output/server/node_modules/entities/package.json +120 -0
  670. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  671. package/.output/server/node_modules/estree-walker/package.json +37 -0
  672. package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
  673. package/.output/server/node_modules/hookable/package.json +54 -0
  674. package/.output/server/node_modules/http_ece/ece.js +528 -0
  675. package/.output/server/node_modules/http_ece/package.json +29 -0
  676. package/.output/server/node_modules/https-proxy-agent/dist/index.js +180 -0
  677. package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  678. package/.output/server/node_modules/https-proxy-agent/package.json +50 -0
  679. package/.output/server/node_modules/inherits/inherits.js +9 -0
  680. package/.output/server/node_modules/inherits/inherits_browser.js +27 -0
  681. package/.output/server/node_modules/inherits/package.json +29 -0
  682. package/.output/server/node_modules/jwa/index.js +266 -0
  683. package/.output/server/node_modules/jwa/package.json +37 -0
  684. package/.output/server/node_modules/jws/index.js +22 -0
  685. package/.output/server/node_modules/jws/lib/data-stream.js +55 -0
  686. package/.output/server/node_modules/jws/lib/sign-stream.js +83 -0
  687. package/.output/server/node_modules/jws/lib/tostring.js +10 -0
  688. package/.output/server/node_modules/jws/lib/verify-stream.js +125 -0
  689. package/.output/server/node_modules/jws/package.json +34 -0
  690. package/.output/server/node_modules/minimalistic-assert/index.js +11 -0
  691. package/.output/server/node_modules/minimalistic-assert/package.json +19 -0
  692. package/.output/server/node_modules/ms/index.js +162 -0
  693. package/.output/server/node_modules/ms/package.json +38 -0
  694. package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
  695. package/.output/server/node_modules/nostics/dist/index.mjs +194 -0
  696. package/.output/server/node_modules/nostics/package.json +126 -0
  697. package/.output/server/node_modules/pvtsutils/build/index.js +399 -0
  698. package/.output/server/node_modules/pvtsutils/package.json +76 -0
  699. package/.output/server/node_modules/pvutils/build/utils.js +361 -0
  700. package/.output/server/node_modules/pvutils/package.json +63 -0
  701. package/.output/server/node_modules/qrcode-terminal/package.json +47 -0
  702. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +22 -0
  703. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +38 -0
  704. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +7 -0
  705. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +10 -0
  706. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +44 -0
  707. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +6 -0
  708. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +66 -0
  709. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +298 -0
  710. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +272 -0
  711. package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/index.js +462 -0
  712. package/.output/server/node_modules/reflect-metadata/Reflect.js +1415 -0
  713. package/.output/server/node_modules/reflect-metadata/package.json +68 -0
  714. package/.output/server/node_modules/safe-buffer/index.js +65 -0
  715. package/.output/server/node_modules/safe-buffer/package.json +51 -0
  716. package/.output/server/node_modules/safer-buffer/package.json +34 -0
  717. package/.output/server/node_modules/safer-buffer/safer.js +77 -0
  718. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  719. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  720. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  721. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  722. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  723. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  724. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  725. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  726. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  727. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  728. package/.output/server/node_modules/source-map-js/package.json +71 -0
  729. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  730. package/.output/server/node_modules/supports-color/index.js +202 -0
  731. package/.output/server/node_modules/supports-color/package.json +64 -0
  732. package/.output/server/node_modules/tslib/modules/index.js +70 -0
  733. package/.output/server/node_modules/tslib/modules/package.json +3 -0
  734. package/.output/server/node_modules/tslib/package.json +47 -0
  735. package/.output/server/node_modules/tslib/tslib.js +484 -0
  736. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/auto-injectable.js +46 -0
  737. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/index.js +20 -0
  738. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-all-with-transform.js +13 -0
  739. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-all.js +12 -0
  740. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-with-transform.js +10 -0
  741. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject.js +12 -0
  742. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/injectable.js +21 -0
  743. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/registry.js +14 -0
  744. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/scoped.js +13 -0
  745. package/.output/server/node_modules/tsyringe/dist/cjs/decorators/singleton.js +11 -0
  746. package/.output/server/node_modules/tsyringe/dist/cjs/dependency-container.js +341 -0
  747. package/.output/server/node_modules/tsyringe/dist/cjs/error-helpers.js +19 -0
  748. package/.output/server/node_modules/tsyringe/dist/cjs/factories/index.js +8 -0
  749. package/.output/server/node_modules/tsyringe/dist/cjs/factories/instance-caching-factory.js +12 -0
  750. package/.output/server/node_modules/tsyringe/dist/cjs/factories/instance-per-container-caching-factory.js +14 -0
  751. package/.output/server/node_modules/tsyringe/dist/cjs/factories/predicate-aware-class-factory.js +19 -0
  752. package/.output/server/node_modules/tsyringe/dist/cjs/index.js +15 -0
  753. package/.output/server/node_modules/tsyringe/dist/cjs/interceptors.js +17 -0
  754. package/.output/server/node_modules/tsyringe/dist/cjs/lazy-helpers.js +54 -0
  755. package/.output/server/node_modules/tsyringe/dist/cjs/providers/class-provider.js +7 -0
  756. package/.output/server/node_modules/tsyringe/dist/cjs/providers/factory-provider.js +7 -0
  757. package/.output/server/node_modules/tsyringe/dist/cjs/providers/index.js +12 -0
  758. package/.output/server/node_modules/tsyringe/dist/cjs/providers/injection-token.js +24 -0
  759. package/.output/server/node_modules/tsyringe/dist/cjs/providers/provider.js +14 -0
  760. package/.output/server/node_modules/tsyringe/dist/cjs/providers/token-provider.js +7 -0
  761. package/.output/server/node_modules/tsyringe/dist/cjs/providers/value-provider.js +7 -0
  762. package/.output/server/node_modules/tsyringe/dist/cjs/reflection-helpers.js +27 -0
  763. package/.output/server/node_modules/tsyringe/dist/cjs/registry-base.js +39 -0
  764. package/.output/server/node_modules/tsyringe/dist/cjs/registry.js +6 -0
  765. package/.output/server/node_modules/tsyringe/dist/cjs/resolution-context.js +8 -0
  766. package/.output/server/node_modules/tsyringe/dist/cjs/types/disposable.js +13 -0
  767. package/.output/server/node_modules/tsyringe/dist/cjs/types/index.js +4 -0
  768. package/.output/server/node_modules/tsyringe/dist/cjs/types/lifecycle.js +10 -0
  769. package/.output/server/node_modules/tsyringe/node_modules/tslib/package.json +37 -0
  770. package/.output/server/node_modules/tsyringe/node_modules/tslib/tslib.js +284 -0
  771. package/.output/server/node_modules/tsyringe/package.json +63 -0
  772. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  773. package/.output/server/node_modules/ufo/package.json +48 -0
  774. package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
  775. package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
  776. package/.output/server/node_modules/unhead/dist/minify.mjs +183 -0
  777. package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
  778. package/.output/server/node_modules/unhead/dist/plugins.mjs +746 -0
  779. package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
  780. package/.output/server/node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs +400 -0
  781. package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
  782. package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
  783. package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +192 -0
  784. package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
  785. package/.output/server/node_modules/unhead/dist/shared/unhead.Bjbp1C8D.mjs +224 -0
  786. package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
  787. package/.output/server/node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs +49 -0
  788. package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
  789. package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
  790. package/.output/server/node_modules/unhead/dist/shared/unhead.C_7zwq8E.mjs +11 -0
  791. package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
  792. package/.output/server/node_modules/unhead/dist/shared/unhead.Dssd7L5I.mjs +196 -0
  793. package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +264 -0
  794. package/.output/server/node_modules/unhead/dist/shared/unhead.oZ7pkTV1.mjs +19 -0
  795. package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +240 -0
  796. package/.output/server/node_modules/unhead/dist/stream/client.mjs +33 -0
  797. package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
  798. package/.output/server/node_modules/unhead/dist/stream/server.mjs +436 -0
  799. package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
  800. package/.output/server/node_modules/unhead/package.json +179 -0
  801. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  802. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  803. package/.output/server/node_modules/vue/index.js +7 -0
  804. package/.output/server/node_modules/vue/index.mjs +1 -0
  805. package/.output/server/node_modules/vue/package.json +112 -0
  806. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  807. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +687 -0
  808. package/.output/server/node_modules/vue-bundle-renderer/package.json +66 -0
  809. package/.output/server/node_modules/web-push/package.json +55 -0
  810. package/.output/server/node_modules/web-push/src/encryption-helper.js +62 -0
  811. package/.output/server/node_modules/web-push/src/index.js +21 -0
  812. package/.output/server/node_modules/web-push/src/urlsafe-base64-helper.js +13 -0
  813. package/.output/server/node_modules/web-push/src/vapid-helper.js +255 -0
  814. package/.output/server/node_modules/web-push/src/web-push-constants.js +17 -0
  815. package/.output/server/node_modules/web-push/src/web-push-error.js +16 -0
  816. package/.output/server/node_modules/web-push/src/web-push-lib.js +413 -0
  817. package/.output/server/package.json +67 -0
  818. package/LICENSE +21 -0
  819. package/README.md +963 -2
  820. package/bin/lib/commands.mjs +432 -0
  821. package/bin/lib/core.mjs +150 -0
  822. package/bin/lib/panel.mjs +208 -0
  823. package/bin/lib/runtime.mjs +74 -0
  824. package/bin/lib/service.mjs +133 -0
  825. package/bin/lib/tailnet.d.mts +32 -0
  826. package/bin/lib/tailnet.mjs +185 -0
  827. package/bin/wherdr.mjs +23 -0
  828. 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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -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
+ };
@@ -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
+ };