@deltarocks/pykrete-front 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.ts +7 -0
- package/client.js +22 -0
- package/client.js.map +1 -0
- package/control/gen/ActiveOrganizationSelection.d.ts +8 -0
- package/control/gen/ActiveOrganizationSelection.js +16 -0
- package/control/gen/ActiveOrganizationSelection.js.map +1 -0
- package/control/gen/App.d.ts +9 -0
- package/control/gen/App.js +21 -0
- package/control/gen/App.js.map +1 -0
- package/control/gen/AppKeyData.d.ts +10 -0
- package/control/gen/AppKeyData.js +27 -0
- package/control/gen/AppKeyData.js.map +1 -0
- package/control/gen/AppKeys.d.ts +6 -0
- package/control/gen/AppKeys.js +14 -0
- package/control/gen/AppKeys.js.map +1 -0
- package/control/gen/ChallengeUpdate.d.ts +10 -0
- package/control/gen/ChallengeUpdate.js +26 -0
- package/control/gen/ChallengeUpdate.js.map +1 -0
- package/control/gen/ControlInit.d.ts +9 -0
- package/control/gen/ControlInit.js +20 -0
- package/control/gen/ControlInit.js.map +1 -0
- package/control/gen/ControlInitKind.d.ts +25 -0
- package/control/gen/ControlInitKind.js +108 -0
- package/control/gen/ControlInitKind.js.map +1 -0
- package/control/gen/CreatePasswordWithSecretCodeResponse.d.ts +9 -0
- package/control/gen/CreatePasswordWithSecretCodeResponse.js +20 -0
- package/control/gen/CreatePasswordWithSecretCodeResponse.js.map +1 -0
- package/control/gen/DisplayPermission.d.ts +12 -0
- package/control/gen/DisplayPermission.js +27 -0
- package/control/gen/DisplayPermission.js.map +1 -0
- package/control/gen/FactorResponse.d.ts +15 -0
- package/control/gen/FactorResponse.js +50 -0
- package/control/gen/FactorResponse.js.map +1 -0
- package/control/gen/IdentifyResponse.d.ts +14 -0
- package/control/gen/IdentifyResponse.js +50 -0
- package/control/gen/IdentifyResponse.js.map +1 -0
- package/control/gen/KeybaseEnvelope.d.ts +9 -0
- package/control/gen/KeybaseEnvelope.js +20 -0
- package/control/gen/KeybaseEnvelope.js.map +1 -0
- package/control/gen/KeybaseSource.d.ts +17 -0
- package/control/gen/KeybaseSource.js +61 -0
- package/control/gen/KeybaseSource.js.map +1 -0
- package/control/gen/KeybaseUnlocked.d.ts +9 -0
- package/control/gen/KeybaseUnlocked.js +24 -0
- package/control/gen/KeybaseUnlocked.js.map +1 -0
- package/control/gen/LegacyKeybase.d.ts +10 -0
- package/control/gen/LegacyKeybase.js +30 -0
- package/control/gen/LegacyKeybase.js.map +1 -0
- package/control/gen/LegacyKeybaseMaterial.d.ts +9 -0
- package/control/gen/LegacyKeybaseMaterial.js +19 -0
- package/control/gen/LegacyKeybaseMaterial.js.map +1 -0
- package/control/gen/LogoutConfirmation.d.ts +10 -0
- package/control/gen/LogoutConfirmation.js +24 -0
- package/control/gen/LogoutConfirmation.js.map +1 -0
- package/control/gen/OrganizationAccess.d.ts +15 -0
- package/control/gen/OrganizationAccess.js +34 -0
- package/control/gen/OrganizationAccess.js.map +1 -0
- package/control/gen/OrganizationAccessResponse.d.ts +11 -0
- package/control/gen/OrganizationAccessResponse.js +27 -0
- package/control/gen/OrganizationAccessResponse.js.map +1 -0
- package/control/gen/OrganizationChoice.d.ts +12 -0
- package/control/gen/OrganizationChoice.js +30 -0
- package/control/gen/OrganizationChoice.js.map +1 -0
- package/control/gen/OrganizationChoiceAccess.d.ts +19 -0
- package/control/gen/OrganizationChoiceAccess.js +88 -0
- package/control/gen/OrganizationChoiceAccess.js.map +1 -0
- package/control/gen/PasskeyAssertion.d.ts +13 -0
- package/control/gen/PasskeyAssertion.js +33 -0
- package/control/gen/PasskeyAssertion.js.map +1 -0
- package/control/gen/PasskeyCreationRequest.d.ts +13 -0
- package/control/gen/PasskeyCreationRequest.js +36 -0
- package/control/gen/PasskeyCreationRequest.js.map +1 -0
- package/control/gen/PasskeyInput.d.ts +11 -0
- package/control/gen/PasskeyInput.js +25 -0
- package/control/gen/PasskeyInput.js.map +1 -0
- package/control/gen/PasskeyRegistration.d.ts +14 -0
- package/control/gen/PasskeyRegistration.js +33 -0
- package/control/gen/PasskeyRegistration.js.map +1 -0
- package/control/gen/PasskeyRequest.d.ts +10 -0
- package/control/gen/PasskeyRequest.js +28 -0
- package/control/gen/PasskeyRequest.js.map +1 -0
- package/control/gen/PasswordChallengeRequest.d.ts +12 -0
- package/control/gen/PasswordChallengeRequest.js +47 -0
- package/control/gen/PasswordChallengeRequest.js.map +1 -0
- package/control/gen/PasswordChallengeResponse.d.ts +13 -0
- package/control/gen/PasswordChallengeResponse.js +55 -0
- package/control/gen/PasswordChallengeResponse.js.map +1 -0
- package/control/gen/PasswordInput.d.ts +9 -0
- package/control/gen/PasswordInput.js +20 -0
- package/control/gen/PasswordInput.js.map +1 -0
- package/control/gen/PermissionConfirmation.d.ts +15 -0
- package/control/gen/PermissionConfirmation.js +35 -0
- package/control/gen/PermissionConfirmation.js.map +1 -0
- package/control/gen/PermissionGroup.d.ts +10 -0
- package/control/gen/PermissionGroup.js +25 -0
- package/control/gen/PermissionGroup.js.map +1 -0
- package/control/gen/PermissionIcon.d.ts +13 -0
- package/control/gen/PermissionIcon.js +49 -0
- package/control/gen/PermissionIcon.js.map +1 -0
- package/control/gen/Publisher.d.ts +9 -0
- package/control/gen/Publisher.js +20 -0
- package/control/gen/Publisher.js.map +1 -0
- package/control/gen/RegisterPasskeyResponse.d.ts +13 -0
- package/control/gen/RegisterPasskeyResponse.js +47 -0
- package/control/gen/RegisterPasskeyResponse.js.map +1 -0
- package/control/gen/RegisteredPasskey.d.ts +9 -0
- package/control/gen/RegisteredPasskey.js +20 -0
- package/control/gen/RegisteredPasskey.js.map +1 -0
- package/control/gen/RequestDetail.d.ts +8 -0
- package/control/gen/RequestDetail.js +19 -0
- package/control/gen/RequestDetail.js.map +1 -0
- package/control/gen/SecondFactorInput.d.ts +11 -0
- package/control/gen/SecondFactorInput.js +26 -0
- package/control/gen/SecondFactorInput.js.map +1 -0
- package/control/gen/StoredCredentialsResponse.d.ts +9 -0
- package/control/gen/StoredCredentialsResponse.js +21 -0
- package/control/gen/StoredCredentialsResponse.js.map +1 -0
- package/control/gen/UnlockKeybaseResponse.d.ts +13 -0
- package/control/gen/UnlockKeybaseResponse.js +47 -0
- package/control/gen/UnlockKeybaseResponse.js.map +1 -0
- package/control/gen/array/inline_0.d.ts +5 -0
- package/control/gen/array/inline_0.js +29 -0
- package/control/gen/array/inline_0.js.map +1 -0
- package/control/gen/array/inline_1.d.ts +6 -0
- package/control/gen/array/inline_1.js +29 -0
- package/control/gen/array/inline_1.js.map +1 -0
- package/control/gen/array/inline_2.d.ts +6 -0
- package/control/gen/array/inline_2.js +29 -0
- package/control/gen/array/inline_2.js.map +1 -0
- package/control/gen/array/inline_3.d.ts +6 -0
- package/control/gen/array/inline_3.js +29 -0
- package/control/gen/array/inline_3.js.map +1 -0
- package/control/gen/array/inline_4.d.ts +6 -0
- package/control/gen/array/inline_4.js +29 -0
- package/control/gen/array/inline_4.js.map +1 -0
- package/control/gen/array/inline_5.d.ts +6 -0
- package/control/gen/array/inline_5.js +29 -0
- package/control/gen/array/inline_5.js.map +1 -0
- package/control/gen/array/inline_6.d.ts +6 -0
- package/control/gen/array/inline_6.js +29 -0
- package/control/gen/array/inline_6.js.map +1 -0
- package/control/gen/array/inline_7.d.ts +5 -0
- package/control/gen/array/inline_7.js +29 -0
- package/control/gen/array/inline_7.js.map +1 -0
- package/control/gen/array/inline_8.d.ts +5 -0
- package/control/gen/array/inline_8.js +32 -0
- package/control/gen/array/inline_8.js.map +1 -0
- package/control/gen/array/mod.d.ts +9 -0
- package/control/gen/array/mod.js +11 -0
- package/control/gen/array/mod.js.map +1 -0
- package/control/gen/bool.d.ts +5 -0
- package/control/gen/bool.js +6 -0
- package/control/gen/bool.js.map +1 -0
- package/control/gen/buffer/inline_0.d.ts +5 -0
- package/control/gen/buffer/inline_0.js +18 -0
- package/control/gen/buffer/inline_0.js.map +1 -0
- package/control/gen/buffer/mod.d.ts +2 -0
- package/control/gen/buffer/mod.js +4 -0
- package/control/gen/buffer/mod.js.map +1 -0
- package/control/gen/buffer/sized.d.ts +9 -0
- package/control/gen/buffer/sized.js +21 -0
- package/control/gen/buffer/sized.js.map +1 -0
- package/control/gen/i32.d.ts +5 -0
- package/control/gen/i32.js +6 -0
- package/control/gen/i32.js.map +1 -0
- package/control/gen/i64.d.ts +5 -0
- package/control/gen/i64.js +6 -0
- package/control/gen/i64.js.map +1 -0
- package/control/gen/link/Frontend/add_passkey/Request.d.ts +10 -0
- package/control/gen/link/Frontend/add_passkey/Request.js +20 -0
- package/control/gen/link/Frontend/add_passkey/Request.js.map +1 -0
- package/control/gen/link/Frontend/add_passkey/Response.d.ts +6 -0
- package/control/gen/link/Frontend/add_passkey/Response.js +13 -0
- package/control/gen/link/Frontend/add_passkey/Response.js.map +1 -0
- package/control/gen/link/Frontend/add_passkey/mod.d.ts +2 -0
- package/control/gen/link/Frontend/add_passkey/mod.js +4 -0
- package/control/gen/link/Frontend/add_passkey/mod.js.map +1 -0
- package/control/gen/link/Frontend/clear_session/Request.d.ts +5 -0
- package/control/gen/link/Frontend/clear_session/Request.js +10 -0
- package/control/gen/link/Frontend/clear_session/Request.js.map +1 -0
- package/control/gen/link/Frontend/clear_session/mod.d.ts +1 -0
- package/control/gen/link/Frontend/clear_session/mod.js +3 -0
- package/control/gen/link/Frontend/clear_session/mod.js.map +1 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/Request.d.ts +11 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/Request.js +25 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/Request.js.map +1 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/Response.d.ts +6 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/Response.js +13 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/Response.js.map +1 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/mod.d.ts +2 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/mod.js +4 -0
- package/control/gen/link/Frontend/create_password_with_secret_code/mod.js.map +1 -0
- package/control/gen/link/Frontend/device_code_input/Request.d.ts +8 -0
- package/control/gen/link/Frontend/device_code_input/Request.js +16 -0
- package/control/gen/link/Frontend/device_code_input/Request.js.map +1 -0
- package/control/gen/link/Frontend/device_code_input/Response.d.ts +5 -0
- package/control/gen/link/Frontend/device_code_input/Response.js +13 -0
- package/control/gen/link/Frontend/device_code_input/Response.js.map +1 -0
- package/control/gen/link/Frontend/device_code_input/mod.d.ts +2 -0
- package/control/gen/link/Frontend/device_code_input/mod.js +4 -0
- package/control/gen/link/Frontend/device_code_input/mod.js.map +1 -0
- package/control/gen/link/Frontend/finished_message/Request.d.ts +7 -0
- package/control/gen/link/Frontend/finished_message/Request.js +16 -0
- package/control/gen/link/Frontend/finished_message/Request.js.map +1 -0
- package/control/gen/link/Frontend/finished_message/mod.d.ts +1 -0
- package/control/gen/link/Frontend/finished_message/mod.js +3 -0
- package/control/gen/link/Frontend/finished_message/mod.js.map +1 -0
- package/control/gen/link/Frontend/finished_redirect/Request.d.ts +7 -0
- package/control/gen/link/Frontend/finished_redirect/Request.js +16 -0
- package/control/gen/link/Frontend/finished_redirect/Request.js.map +1 -0
- package/control/gen/link/Frontend/finished_redirect/mod.d.ts +1 -0
- package/control/gen/link/Frontend/finished_redirect/mod.js +3 -0
- package/control/gen/link/Frontend/finished_redirect/mod.js.map +1 -0
- package/control/gen/link/Frontend/logout_confirmation/Request.d.ts +10 -0
- package/control/gen/link/Frontend/logout_confirmation/Request.js +20 -0
- package/control/gen/link/Frontend/logout_confirmation/Request.js.map +1 -0
- package/control/gen/link/Frontend/logout_confirmation/Response.d.ts +6 -0
- package/control/gen/link/Frontend/logout_confirmation/Response.js +13 -0
- package/control/gen/link/Frontend/logout_confirmation/Response.js.map +1 -0
- package/control/gen/link/Frontend/logout_confirmation/mod.d.ts +2 -0
- package/control/gen/link/Frontend/logout_confirmation/mod.js +4 -0
- package/control/gen/link/Frontend/logout_confirmation/mod.js.map +1 -0
- package/control/gen/link/Frontend/mod.d.ts +15 -0
- package/control/gen/link/Frontend/mod.js +17 -0
- package/control/gen/link/Frontend/mod.js.map +1 -0
- package/control/gen/link/Frontend/organization_access/Request.d.ts +10 -0
- package/control/gen/link/Frontend/organization_access/Request.js +20 -0
- package/control/gen/link/Frontend/organization_access/Request.js.map +1 -0
- package/control/gen/link/Frontend/organization_access/Response.d.ts +6 -0
- package/control/gen/link/Frontend/organization_access/Response.js +13 -0
- package/control/gen/link/Frontend/organization_access/Response.js.map +1 -0
- package/control/gen/link/Frontend/organization_access/mod.d.ts +2 -0
- package/control/gen/link/Frontend/organization_access/mod.js +4 -0
- package/control/gen/link/Frontend/organization_access/mod.js.map +1 -0
- package/control/gen/link/Frontend/passkey_input/Request.d.ts +12 -0
- package/control/gen/link/Frontend/passkey_input/Request.js +25 -0
- package/control/gen/link/Frontend/passkey_input/Request.js.map +1 -0
- package/control/gen/link/Frontend/passkey_input/Response.d.ts +6 -0
- package/control/gen/link/Frontend/passkey_input/Response.js +13 -0
- package/control/gen/link/Frontend/passkey_input/Response.js.map +1 -0
- package/control/gen/link/Frontend/passkey_input/mod.d.ts +2 -0
- package/control/gen/link/Frontend/passkey_input/mod.js +4 -0
- package/control/gen/link/Frontend/passkey_input/mod.js.map +1 -0
- package/control/gen/link/Frontend/password_input/Request.d.ts +12 -0
- package/control/gen/link/Frontend/password_input/Request.js +25 -0
- package/control/gen/link/Frontend/password_input/Request.js.map +1 -0
- package/control/gen/link/Frontend/password_input/Response.d.ts +6 -0
- package/control/gen/link/Frontend/password_input/Response.js +13 -0
- package/control/gen/link/Frontend/password_input/Response.js.map +1 -0
- package/control/gen/link/Frontend/password_input/mod.d.ts +2 -0
- package/control/gen/link/Frontend/password_input/mod.js +4 -0
- package/control/gen/link/Frontend/password_input/mod.js.map +1 -0
- package/control/gen/link/Frontend/permission_confirmation/Request.d.ts +10 -0
- package/control/gen/link/Frontend/permission_confirmation/Request.js +20 -0
- package/control/gen/link/Frontend/permission_confirmation/Request.js.map +1 -0
- package/control/gen/link/Frontend/permission_confirmation/Response.d.ts +6 -0
- package/control/gen/link/Frontend/permission_confirmation/Response.js +13 -0
- package/control/gen/link/Frontend/permission_confirmation/Response.js.map +1 -0
- package/control/gen/link/Frontend/permission_confirmation/mod.d.ts +2 -0
- package/control/gen/link/Frontend/permission_confirmation/mod.js +4 -0
- package/control/gen/link/Frontend/permission_confirmation/mod.js.map +1 -0
- package/control/gen/link/Frontend/second_factor_input/Request.d.ts +10 -0
- package/control/gen/link/Frontend/second_factor_input/Request.js +20 -0
- package/control/gen/link/Frontend/second_factor_input/Request.js.map +1 -0
- package/control/gen/link/Frontend/second_factor_input/Response.d.ts +5 -0
- package/control/gen/link/Frontend/second_factor_input/Response.js +13 -0
- package/control/gen/link/Frontend/second_factor_input/Response.js.map +1 -0
- package/control/gen/link/Frontend/second_factor_input/mod.d.ts +2 -0
- package/control/gen/link/Frontend/second_factor_input/mod.js +4 -0
- package/control/gen/link/Frontend/second_factor_input/mod.js.map +1 -0
- package/control/gen/link/Frontend/service.d.ts +79 -0
- package/control/gen/link/Frontend/service.js +166 -0
- package/control/gen/link/Frontend/service.js.map +1 -0
- package/control/gen/link/Frontend/stored_credentials/Request.d.ts +5 -0
- package/control/gen/link/Frontend/stored_credentials/Request.js +10 -0
- package/control/gen/link/Frontend/stored_credentials/Request.js.map +1 -0
- package/control/gen/link/Frontend/stored_credentials/Response.d.ts +6 -0
- package/control/gen/link/Frontend/stored_credentials/Response.js +13 -0
- package/control/gen/link/Frontend/stored_credentials/Response.js.map +1 -0
- package/control/gen/link/Frontend/stored_credentials/mod.d.ts +2 -0
- package/control/gen/link/Frontend/stored_credentials/mod.js +4 -0
- package/control/gen/link/Frontend/stored_credentials/mod.js.map +1 -0
- package/control/gen/link/Frontend/username_input/Request.d.ts +12 -0
- package/control/gen/link/Frontend/username_input/Request.js +25 -0
- package/control/gen/link/Frontend/username_input/Request.js.map +1 -0
- package/control/gen/link/Frontend/username_input/Response.d.ts +6 -0
- package/control/gen/link/Frontend/username_input/Response.js +13 -0
- package/control/gen/link/Frontend/username_input/Response.js.map +1 -0
- package/control/gen/link/Frontend/username_input/mod.d.ts +2 -0
- package/control/gen/link/Frontend/username_input/mod.js +4 -0
- package/control/gen/link/Frontend/username_input/mod.js.map +1 -0
- package/control/gen/link/Vault/keybase_material/Request.d.ts +9 -0
- package/control/gen/link/Vault/keybase_material/Request.js +20 -0
- package/control/gen/link/Vault/keybase_material/Request.js.map +1 -0
- package/control/gen/link/Vault/keybase_material/mod.d.ts +1 -0
- package/control/gen/link/Vault/keybase_material/mod.js +3 -0
- package/control/gen/link/Vault/keybase_material/mod.js.map +1 -0
- package/control/gen/link/Vault/mod.d.ts +5 -0
- package/control/gen/link/Vault/mod.js +7 -0
- package/control/gen/link/Vault/mod.js.map +1 -0
- package/control/gen/link/Vault/protect_password/Request.d.ts +11 -0
- package/control/gen/link/Vault/protect_password/Request.js +25 -0
- package/control/gen/link/Vault/protect_password/Request.js.map +1 -0
- package/control/gen/link/Vault/protect_password/Response.d.ts +6 -0
- package/control/gen/link/Vault/protect_password/Response.js +13 -0
- package/control/gen/link/Vault/protect_password/Response.js.map +1 -0
- package/control/gen/link/Vault/protect_password/mod.d.ts +2 -0
- package/control/gen/link/Vault/protect_password/mod.js +4 -0
- package/control/gen/link/Vault/protect_password/mod.js.map +1 -0
- package/control/gen/link/Vault/service.d.ts +30 -0
- package/control/gen/link/Vault/service.js +57 -0
- package/control/gen/link/Vault/service.js.map +1 -0
- package/control/gen/link/Vault/start_session/Request.d.ts +7 -0
- package/control/gen/link/Vault/start_session/Request.js +16 -0
- package/control/gen/link/Vault/start_session/Request.js.map +1 -0
- package/control/gen/link/Vault/start_session/mod.d.ts +1 -0
- package/control/gen/link/Vault/start_session/mod.js +3 -0
- package/control/gen/link/Vault/start_session/mod.js.map +1 -0
- package/control/gen/link/Vault/wrap_keybase/Request.d.ts +7 -0
- package/control/gen/link/Vault/wrap_keybase/Request.js +16 -0
- package/control/gen/link/Vault/wrap_keybase/Request.js.map +1 -0
- package/control/gen/link/Vault/wrap_keybase/Response.d.ts +5 -0
- package/control/gen/link/Vault/wrap_keybase/Response.js +13 -0
- package/control/gen/link/Vault/wrap_keybase/Response.js.map +1 -0
- package/control/gen/link/Vault/wrap_keybase/mod.d.ts +2 -0
- package/control/gen/link/Vault/wrap_keybase/mod.js +4 -0
- package/control/gen/link/Vault/wrap_keybase/mod.js.map +1 -0
- package/control/gen/link/Worker/captcha/Request.d.ts +9 -0
- package/control/gen/link/Worker/captcha/Request.js +20 -0
- package/control/gen/link/Worker/captcha/Request.js.map +1 -0
- package/control/gen/link/Worker/captcha/Response.d.ts +7 -0
- package/control/gen/link/Worker/captcha/Response.js +19 -0
- package/control/gen/link/Worker/captcha/Response.js.map +1 -0
- package/control/gen/link/Worker/captcha/mod.d.ts +2 -0
- package/control/gen/link/Worker/captcha/mod.js +4 -0
- package/control/gen/link/Worker/captcha/mod.js.map +1 -0
- package/control/gen/link/Worker/encrypt_app_keys/Request.d.ts +9 -0
- package/control/gen/link/Worker/encrypt_app_keys/Request.js +20 -0
- package/control/gen/link/Worker/encrypt_app_keys/Request.js.map +1 -0
- package/control/gen/link/Worker/encrypt_app_keys/Response.d.ts +5 -0
- package/control/gen/link/Worker/encrypt_app_keys/Response.js +13 -0
- package/control/gen/link/Worker/encrypt_app_keys/Response.js.map +1 -0
- package/control/gen/link/Worker/encrypt_app_keys/mod.d.ts +2 -0
- package/control/gen/link/Worker/encrypt_app_keys/mod.js +4 -0
- package/control/gen/link/Worker/encrypt_app_keys/mod.js.map +1 -0
- package/control/gen/link/Worker/mod.d.ts +4 -0
- package/control/gen/link/Worker/mod.js +6 -0
- package/control/gen/link/Worker/mod.js.map +1 -0
- package/control/gen/link/Worker/service.d.ts +27 -0
- package/control/gen/link/Worker/service.js +48 -0
- package/control/gen/link/Worker/service.js.map +1 -0
- package/control/gen/link/Worker/unlock_keybase/Request.d.ts +10 -0
- package/control/gen/link/Worker/unlock_keybase/Request.js +24 -0
- package/control/gen/link/Worker/unlock_keybase/Request.js.map +1 -0
- package/control/gen/link/Worker/unlock_keybase/Response.d.ts +6 -0
- package/control/gen/link/Worker/unlock_keybase/Response.js +13 -0
- package/control/gen/link/Worker/unlock_keybase/Response.js.map +1 -0
- package/control/gen/link/Worker/unlock_keybase/mod.d.ts +2 -0
- package/control/gen/link/Worker/unlock_keybase/mod.js +4 -0
- package/control/gen/link/Worker/unlock_keybase/mod.js.map +1 -0
- package/control/gen/link/mod.d.ts +3 -0
- package/control/gen/link/mod.js +5 -0
- package/control/gen/link/mod.js.map +1 -0
- package/control/gen/map_0.d.ts +6 -0
- package/control/gen/map_0.js +35 -0
- package/control/gen/map_0.js.map +1 -0
- package/control/gen/mod.d.ts +58 -0
- package/control/gen/mod.js +60 -0
- package/control/gen/mod.js.map +1 -0
- package/control/gen/option_0.d.ts +6 -0
- package/control/gen/option_0.js +21 -0
- package/control/gen/option_0.js.map +1 -0
- package/control/gen/option_1.d.ts +5 -0
- package/control/gen/option_1.js +21 -0
- package/control/gen/option_1.js.map +1 -0
- package/control/gen/option_2.d.ts +6 -0
- package/control/gen/option_2.js +21 -0
- package/control/gen/option_2.js.map +1 -0
- package/control/gen/option_3.d.ts +6 -0
- package/control/gen/option_3.js +21 -0
- package/control/gen/option_3.js.map +1 -0
- package/control/gen/option_4.d.ts +6 -0
- package/control/gen/option_4.js +21 -0
- package/control/gen/option_4.js.map +1 -0
- package/control/gen/option_5.d.ts +5 -0
- package/control/gen/option_5.js +21 -0
- package/control/gen/option_5.js.map +1 -0
- package/control/gen/option_6.d.ts +6 -0
- package/control/gen/option_6.js +21 -0
- package/control/gen/option_6.js.map +1 -0
- package/control/gen/pstring_6.d.ts +5 -0
- package/control/gen/pstring_6.js +20 -0
- package/control/gen/pstring_6.js.map +1 -0
- package/control/gen/u32.d.ts +5 -0
- package/control/gen/u32.js +6 -0
- package/control/gen/u32.js.map +1 -0
- package/control/gen/u8.d.ts +5 -0
- package/control/gen/u8.js +6 -0
- package/control/gen/u8.js.map +1 -0
- package/control/gen/varint.d.ts +5 -0
- package/control/gen/varint.js +6 -0
- package/control/gen/varint.js.map +1 -0
- package/control/gen/void.d.ts +5 -0
- package/control/gen/void.js +6 -0
- package/control/gen/void.js.map +1 -0
- package/control/mod.d.ts +41 -0
- package/control/mod.js +26 -0
- package/control/mod.js.map +1 -0
- package/control/pds.d.ts +1 -0
- package/control/pds.js +2 -0
- package/control/pds.js.map +1 -0
- package/control/pds_native.d.ts +2 -0
- package/control/pds_native.js +4 -0
- package/control/pds_native.js.map +1 -0
- package/control/schema_hash.d.ts +1 -0
- package/control/schema_hash.js +2 -0
- package/control/schema_hash.js.map +1 -0
- package/lib/pykrete_front.d.ts +60 -0
- package/lib/pykrete_front.internal.js +489 -0
- package/lib/pykrete_front.js +12 -0
- package/lib/pykrete_front.wasm +0 -0
- package/link/mod.d.ts +26 -0
- package/link/mod.js +92 -0
- package/link/mod.js.map +1 -0
- package/link/worker.d.ts +3 -0
- package/link/worker.js +148 -0
- package/link/worker.js.map +1 -0
- package/package.json +460 -3
- package/webauthn.d.ts +16 -0
- package/webauthn.js +135 -0
- package/webauthn.js.map +1 -0
- package/worker.d.ts +1 -0
- package/worker.js +10 -0
- package/worker.js.map +1 -0
- package/README.md +0 -3
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
// @generated file from wasmbuild -- do not edit
|
|
2
|
+
// @ts-nocheck: generated
|
|
3
|
+
// deno-lint-ignore-file
|
|
4
|
+
// deno-fmt-ignore-file
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Finalized keybase state held between `FinalizeKeybase` and `EncryptAppKeys`.
|
|
8
|
+
* Mirrors `KeybaseData` in `frontend/web/src/lib.rs`.
|
|
9
|
+
*/
|
|
10
|
+
export class Keybase {
|
|
11
|
+
static __wrap(ptr) {
|
|
12
|
+
const obj = Object.create(Keybase.prototype);
|
|
13
|
+
obj.__wbg_ptr = ptr;
|
|
14
|
+
KeybaseFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
__destroy_into_raw() {
|
|
18
|
+
const ptr = this.__wbg_ptr;
|
|
19
|
+
this.__wbg_ptr = 0;
|
|
20
|
+
KeybaseFinalization.unregister(this);
|
|
21
|
+
return ptr;
|
|
22
|
+
}
|
|
23
|
+
free() {
|
|
24
|
+
const ptr = this.__destroy_into_raw();
|
|
25
|
+
wasm.__wbg_keybase_free(ptr, 0);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Recover `kb` from the server-stored wrapped value, derive scoped app keys
|
|
29
|
+
* via HKDF, and JWE-encrypt the resulting JWK set to the relying party.
|
|
30
|
+
* `app_keys` is the `EncryptAppKeys.app_keys` map; `keys_jwk_b64` is the
|
|
31
|
+
* base64url-encoded recipient JWK from the OAuth `keys_jwk` parameter.
|
|
32
|
+
* @param {Uint8Array | number[]} app_keys
|
|
33
|
+
* @param {string} keys_jwk_b64
|
|
34
|
+
* @returns {string}
|
|
35
|
+
*/
|
|
36
|
+
encrypt_app_keys(app_keys, keys_jwk_b64) {
|
|
37
|
+
let deferred3_0;
|
|
38
|
+
let deferred3_1;
|
|
39
|
+
try {
|
|
40
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
|
|
41
|
+
let ptr0, len0, ptr1, len1;
|
|
42
|
+
try {
|
|
43
|
+
ptr0 = passArray8ToWasm0(app_keys, wasm.__wbindgen_export4);
|
|
44
|
+
len0 = WASM_VECTOR_LEN;
|
|
45
|
+
ptr1 = passStringToWasm0(
|
|
46
|
+
keys_jwk_b64,
|
|
47
|
+
wasm.__wbindgen_export4,
|
|
48
|
+
wasm.__wbindgen_export5,
|
|
49
|
+
);
|
|
50
|
+
len1 = WASM_VECTOR_LEN;
|
|
51
|
+
} catch (e) {
|
|
52
|
+
if (ptr1) wasm.__wbindgen_export3(ptr1, len1 * 1, 1);
|
|
53
|
+
if (ptr0) wasm.__wbindgen_export3(ptr0, len0 * 1, 1);
|
|
54
|
+
throw e;
|
|
55
|
+
}
|
|
56
|
+
wasm.keybase_encrypt_app_keys(
|
|
57
|
+
retptr,
|
|
58
|
+
this.__wbg_ptr,
|
|
59
|
+
ptr0,
|
|
60
|
+
len0,
|
|
61
|
+
ptr1,
|
|
62
|
+
len1,
|
|
63
|
+
);
|
|
64
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
65
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
66
|
+
deferred3_0 = r0;
|
|
67
|
+
deferred3_1 = r1;
|
|
68
|
+
return getStringFromWasm0(r0, r1);
|
|
69
|
+
} finally {
|
|
70
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
71
|
+
wasm.__wbindgen_export3(deferred3_0, deferred3_1, 1);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @returns {Uint8Array}
|
|
76
|
+
*/
|
|
77
|
+
get fingerprint() {
|
|
78
|
+
try {
|
|
79
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
|
|
80
|
+
wasm.keybase_fingerprint(retptr, this.__wbg_ptr);
|
|
81
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
82
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
83
|
+
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
84
|
+
wasm.__wbindgen_export3(r0, r1 * 1, 1);
|
|
85
|
+
return v1;
|
|
86
|
+
} finally {
|
|
87
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @param {string} uid
|
|
92
|
+
* @returns {Keybase}
|
|
93
|
+
*/
|
|
94
|
+
static fresh(uid) {
|
|
95
|
+
const ptr0 = passStringToWasm0(
|
|
96
|
+
uid,
|
|
97
|
+
wasm.__wbindgen_export4,
|
|
98
|
+
wasm.__wbindgen_export5,
|
|
99
|
+
);
|
|
100
|
+
const len0 = WASM_VECTOR_LEN;
|
|
101
|
+
const ret = wasm.keybase_fresh(ptr0, len0);
|
|
102
|
+
return Keybase.__wrap(ret);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @param {string} uid
|
|
106
|
+
* @param {Uint8Array | number[]} material
|
|
107
|
+
* @param {Uint8Array | number[]} envelope
|
|
108
|
+
* @returns {Keybase | undefined}
|
|
109
|
+
*/
|
|
110
|
+
static from_envelope(uid, material, envelope) {
|
|
111
|
+
let ptr0, len0, ptr1, len1, ptr2, len2;
|
|
112
|
+
try {
|
|
113
|
+
ptr0 = passStringToWasm0(
|
|
114
|
+
uid,
|
|
115
|
+
wasm.__wbindgen_export4,
|
|
116
|
+
wasm.__wbindgen_export5,
|
|
117
|
+
);
|
|
118
|
+
len0 = WASM_VECTOR_LEN;
|
|
119
|
+
ptr1 = passArray8ToWasm0(material, wasm.__wbindgen_export4);
|
|
120
|
+
len1 = WASM_VECTOR_LEN;
|
|
121
|
+
ptr2 = passArray8ToWasm0(envelope, wasm.__wbindgen_export4);
|
|
122
|
+
len2 = WASM_VECTOR_LEN;
|
|
123
|
+
} catch (e) {
|
|
124
|
+
if (ptr2) wasm.__wbindgen_export3(ptr2, len2 * 1, 1);
|
|
125
|
+
if (ptr1) wasm.__wbindgen_export3(ptr1, len1 * 1, 1);
|
|
126
|
+
if (ptr0) wasm.__wbindgen_export3(ptr0, len0 * 1, 1);
|
|
127
|
+
throw e;
|
|
128
|
+
}
|
|
129
|
+
const ret = wasm.keybase_from_envelope(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
130
|
+
return ret === 0 ? undefined : Keybase.__wrap(ret);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @param {string} uid
|
|
134
|
+
* @param {Uint32Array | number[]} sorts
|
|
135
|
+
* @param {Uint8Array | number[]} materials
|
|
136
|
+
* @param {Uint8Array | number[]} wrapped
|
|
137
|
+
* @param {Uint8Array | number[]} material_hash
|
|
138
|
+
* @returns {Keybase | undefined}
|
|
139
|
+
*/
|
|
140
|
+
static from_legacy(uid, sorts, materials, wrapped, material_hash) {
|
|
141
|
+
let ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4;
|
|
142
|
+
try {
|
|
143
|
+
ptr0 = passStringToWasm0(
|
|
144
|
+
uid,
|
|
145
|
+
wasm.__wbindgen_export4,
|
|
146
|
+
wasm.__wbindgen_export5,
|
|
147
|
+
);
|
|
148
|
+
len0 = WASM_VECTOR_LEN;
|
|
149
|
+
ptr1 = passArray32ToWasm0(sorts, wasm.__wbindgen_export4);
|
|
150
|
+
len1 = WASM_VECTOR_LEN;
|
|
151
|
+
ptr2 = passArray8ToWasm0(materials, wasm.__wbindgen_export4);
|
|
152
|
+
len2 = WASM_VECTOR_LEN;
|
|
153
|
+
ptr3 = passArray8ToWasm0(wrapped, wasm.__wbindgen_export4);
|
|
154
|
+
len3 = WASM_VECTOR_LEN;
|
|
155
|
+
ptr4 = passArray8ToWasm0(material_hash, wasm.__wbindgen_export4);
|
|
156
|
+
len4 = WASM_VECTOR_LEN;
|
|
157
|
+
} catch (e) {
|
|
158
|
+
if (ptr4) wasm.__wbindgen_export3(ptr4, len4 * 1, 1);
|
|
159
|
+
if (ptr3) wasm.__wbindgen_export3(ptr3, len3 * 1, 1);
|
|
160
|
+
if (ptr2) wasm.__wbindgen_export3(ptr2, len2 * 1, 1);
|
|
161
|
+
if (ptr1) wasm.__wbindgen_export3(ptr1, len1 * 4, 4);
|
|
162
|
+
if (ptr0) wasm.__wbindgen_export3(ptr0, len0 * 1, 1);
|
|
163
|
+
throw e;
|
|
164
|
+
}
|
|
165
|
+
const ret = wasm.keybase_from_legacy(
|
|
166
|
+
ptr0,
|
|
167
|
+
len0,
|
|
168
|
+
ptr1,
|
|
169
|
+
len1,
|
|
170
|
+
ptr2,
|
|
171
|
+
len2,
|
|
172
|
+
ptr3,
|
|
173
|
+
len3,
|
|
174
|
+
ptr4,
|
|
175
|
+
len4,
|
|
176
|
+
);
|
|
177
|
+
return ret === 0 ? undefined : Keybase.__wrap(ret);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* @param {Uint8Array | number[]} material
|
|
181
|
+
* @returns {Uint8Array}
|
|
182
|
+
*/
|
|
183
|
+
wrap(material) {
|
|
184
|
+
try {
|
|
185
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
|
|
186
|
+
const ptr0 = passArray8ToWasm0(material, wasm.__wbindgen_export4);
|
|
187
|
+
const len0 = WASM_VECTOR_LEN;
|
|
188
|
+
wasm.keybase_wrap(retptr, this.__wbg_ptr, ptr0, len0);
|
|
189
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
190
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
191
|
+
var v2 = getArrayU8FromWasm0(r0, r1).slice();
|
|
192
|
+
wasm.__wbindgen_export3(r0, r1 * 1, 1);
|
|
193
|
+
return v2;
|
|
194
|
+
} finally {
|
|
195
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
if (Symbol.dispose) Keybase.prototype[Symbol.dispose] = Keybase.prototype.free;
|
|
200
|
+
|
|
201
|
+
export class ProtectPwOut {
|
|
202
|
+
static __wrap(ptr) {
|
|
203
|
+
const obj = Object.create(ProtectPwOut.prototype);
|
|
204
|
+
obj.__wbg_ptr = ptr;
|
|
205
|
+
ProtectPwOutFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
206
|
+
return obj;
|
|
207
|
+
}
|
|
208
|
+
__destroy_into_raw() {
|
|
209
|
+
const ptr = this.__wbg_ptr;
|
|
210
|
+
this.__wbg_ptr = 0;
|
|
211
|
+
ProtectPwOutFinalization.unregister(this);
|
|
212
|
+
return ptr;
|
|
213
|
+
}
|
|
214
|
+
free() {
|
|
215
|
+
const ptr = this.__destroy_into_raw();
|
|
216
|
+
wasm.__wbg_protectpwout_free(ptr, 0);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* @returns {Uint8Array}
|
|
220
|
+
*/
|
|
221
|
+
get kbm() {
|
|
222
|
+
try {
|
|
223
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
|
|
224
|
+
wasm.__wbg_get_protectpwout_kbm(retptr, this.__wbg_ptr);
|
|
225
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
226
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
227
|
+
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
228
|
+
wasm.__wbindgen_export3(r0, r1 * 1, 1);
|
|
229
|
+
return v1;
|
|
230
|
+
} finally {
|
|
231
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* @returns {Uint8Array}
|
|
236
|
+
*/
|
|
237
|
+
get ppw() {
|
|
238
|
+
try {
|
|
239
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
|
|
240
|
+
wasm.__wbg_get_protectpwout_ppw(retptr, this.__wbg_ptr);
|
|
241
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
242
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
243
|
+
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
244
|
+
wasm.__wbindgen_export3(r0, r1 * 1, 1);
|
|
245
|
+
return v1;
|
|
246
|
+
} finally {
|
|
247
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* @param {Uint8Array | number[]} arg0
|
|
252
|
+
*/
|
|
253
|
+
set kbm(arg0) {
|
|
254
|
+
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_export4);
|
|
255
|
+
const len0 = WASM_VECTOR_LEN;
|
|
256
|
+
wasm.__wbg_set_protectpwout_kbm(this.__wbg_ptr, ptr0, len0);
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* @param {Uint8Array | number[]} arg0
|
|
260
|
+
*/
|
|
261
|
+
set ppw(arg0) {
|
|
262
|
+
const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_export4);
|
|
263
|
+
const len0 = WASM_VECTOR_LEN;
|
|
264
|
+
wasm.__wbg_set_protectpwout_ppw(this.__wbg_ptr, ptr0, len0);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
if (Symbol.dispose) {
|
|
268
|
+
ProtectPwOut.prototype[Symbol.dispose] = ProtectPwOut.prototype.free;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* @param {Uint8Array | number[]} challenge
|
|
273
|
+
* @param {number} cost
|
|
274
|
+
* @returns {Uint8Array}
|
|
275
|
+
*/
|
|
276
|
+
export function pow_captcha(challenge, cost) {
|
|
277
|
+
try {
|
|
278
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
|
|
279
|
+
const val2 = +cost;
|
|
280
|
+
const ptr0 = passArray8ToWasm0(challenge, wasm.__wbindgen_export4);
|
|
281
|
+
const len0 = WASM_VECTOR_LEN;
|
|
282
|
+
wasm.pow_captcha(retptr, ptr0, len0, val2);
|
|
283
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
284
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
285
|
+
var v3 = getArrayU8FromWasm0(r0, r1).slice();
|
|
286
|
+
wasm.__wbindgen_export3(r0, r1 * 1, 1);
|
|
287
|
+
return v3;
|
|
288
|
+
} finally {
|
|
289
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @param {Uint8Array | number[]} pw
|
|
295
|
+
* @returns {ProtectPwOut}
|
|
296
|
+
*/
|
|
297
|
+
export function protect_pw_v0(pw) {
|
|
298
|
+
const ptr0 = passArray8ToWasm0(pw, wasm.__wbindgen_export4);
|
|
299
|
+
const len0 = WASM_VECTOR_LEN;
|
|
300
|
+
const ret = wasm.protect_pw_v0(ptr0, len0);
|
|
301
|
+
return ProtectPwOut.__wrap(ret);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* @param {Uint8Array | number[]} pw
|
|
306
|
+
* @param {Uint8Array | number[]} user_salt
|
|
307
|
+
* @returns {ProtectPwOut}
|
|
308
|
+
*/
|
|
309
|
+
export function protect_pw_v1(pw, user_salt) {
|
|
310
|
+
let ptr0, len0, ptr1, len1;
|
|
311
|
+
try {
|
|
312
|
+
ptr0 = passArray8ToWasm0(pw, wasm.__wbindgen_export4);
|
|
313
|
+
len0 = WASM_VECTOR_LEN;
|
|
314
|
+
ptr1 = passArray8ToWasm0(user_salt, wasm.__wbindgen_export4);
|
|
315
|
+
len1 = WASM_VECTOR_LEN;
|
|
316
|
+
} catch (e) {
|
|
317
|
+
if (ptr1) wasm.__wbindgen_export3(ptr1, len1 * 1, 1);
|
|
318
|
+
if (ptr0) wasm.__wbindgen_export3(ptr0, len0 * 1, 1);
|
|
319
|
+
throw e;
|
|
320
|
+
}
|
|
321
|
+
const ret = wasm.protect_pw_v1(ptr0, len0, ptr1, len1);
|
|
322
|
+
return ProtectPwOut.__wrap(ret);
|
|
323
|
+
}
|
|
324
|
+
export function __wbg___wbindgen_throw_4c88d8bf264fd984(arg0, arg1) {
|
|
325
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
326
|
+
}
|
|
327
|
+
export function __wbg_getRandomValues_8b6f1f663e6f188d() {
|
|
328
|
+
return handleError(function (arg0, arg1) {
|
|
329
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
330
|
+
}, arguments);
|
|
331
|
+
}
|
|
332
|
+
export function __wbindgen_init_externref_table() {
|
|
333
|
+
const table = wasm.__wbindgen_externrefs;
|
|
334
|
+
table.set(0, undefined);
|
|
335
|
+
table.set(1024, undefined);
|
|
336
|
+
table.set(1025, null);
|
|
337
|
+
table.set(1026, true);
|
|
338
|
+
table.set(1027, false);
|
|
339
|
+
}
|
|
340
|
+
const KeybaseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
341
|
+
? { register: () => {}, unregister: () => {} }
|
|
342
|
+
: new FinalizationRegistry((ptr) => wasm.__wbg_keybase_free(ptr, 1));
|
|
343
|
+
const ProtectPwOutFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
344
|
+
? { register: () => {}, unregister: () => {} }
|
|
345
|
+
: new FinalizationRegistry((ptr) => wasm.__wbg_protectpwout_free(ptr, 1));
|
|
346
|
+
|
|
347
|
+
function addToExternrefTable0(obj) {
|
|
348
|
+
const idx = wasm.__wbindgen_export2();
|
|
349
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
350
|
+
return idx;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
354
|
+
ptr = ptr >>> 0;
|
|
355
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
let cachedDataViewMemory0 = null;
|
|
359
|
+
function getDataViewMemory0() {
|
|
360
|
+
if (
|
|
361
|
+
cachedDataViewMemory0 === null ||
|
|
362
|
+
cachedDataViewMemory0.buffer.detached === true ||
|
|
363
|
+
(cachedDataViewMemory0.buffer.detached === undefined &&
|
|
364
|
+
cachedDataViewMemory0.buffer !== wasm.memory.buffer)
|
|
365
|
+
) {
|
|
366
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
367
|
+
}
|
|
368
|
+
return cachedDataViewMemory0;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
function getStringFromWasm0(ptr, len) {
|
|
372
|
+
ptr = ptr >>> 0;
|
|
373
|
+
return decodeText(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
let cachedUint32ArrayMemory0 = null;
|
|
377
|
+
function getUint32ArrayMemory0() {
|
|
378
|
+
if (
|
|
379
|
+
cachedUint32ArrayMemory0 === null ||
|
|
380
|
+
cachedUint32ArrayMemory0.byteLength === 0
|
|
381
|
+
) {
|
|
382
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
383
|
+
}
|
|
384
|
+
return cachedUint32ArrayMemory0;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
let cachedUint8ArrayMemory0 = null;
|
|
388
|
+
function getUint8ArrayMemory0() {
|
|
389
|
+
if (
|
|
390
|
+
cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0
|
|
391
|
+
) {
|
|
392
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
393
|
+
}
|
|
394
|
+
return cachedUint8ArrayMemory0;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
function handleError(f, args) {
|
|
398
|
+
try {
|
|
399
|
+
return f.apply(this, args);
|
|
400
|
+
} catch (e) {
|
|
401
|
+
const idx = addToExternrefTable0(e);
|
|
402
|
+
wasm.__wbindgen_export(idx);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
function passArray32ToWasm0(arg, malloc) {
|
|
407
|
+
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
408
|
+
getUint32ArrayMemory0().set(arg, ptr / 4);
|
|
409
|
+
WASM_VECTOR_LEN = arg.length;
|
|
410
|
+
return ptr;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
414
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
415
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
416
|
+
WASM_VECTOR_LEN = arg.length;
|
|
417
|
+
return ptr;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
421
|
+
if (realloc === undefined) {
|
|
422
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
423
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
424
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
425
|
+
WASM_VECTOR_LEN = buf.length;
|
|
426
|
+
return ptr;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
let len = arg.length;
|
|
430
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
431
|
+
|
|
432
|
+
const mem = getUint8ArrayMemory0();
|
|
433
|
+
|
|
434
|
+
let offset = 0;
|
|
435
|
+
|
|
436
|
+
for (; offset < len; offset++) {
|
|
437
|
+
const code = arg.charCodeAt(offset);
|
|
438
|
+
if (code > 0x7F) break;
|
|
439
|
+
mem[ptr + offset] = code;
|
|
440
|
+
}
|
|
441
|
+
if (offset !== len) {
|
|
442
|
+
if (offset !== 0) {
|
|
443
|
+
arg = arg.slice(offset);
|
|
444
|
+
}
|
|
445
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
446
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
447
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
448
|
+
|
|
449
|
+
offset += ret.written;
|
|
450
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
WASM_VECTOR_LEN = offset;
|
|
454
|
+
return ptr;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
|
|
458
|
+
cachedTextDecoder.decode();
|
|
459
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
460
|
+
let numBytesDecoded = 0;
|
|
461
|
+
function decodeText(bytes) {
|
|
462
|
+
numBytesDecoded += bytes.length;
|
|
463
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
464
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
|
|
465
|
+
cachedTextDecoder.decode();
|
|
466
|
+
numBytesDecoded = bytes.length;
|
|
467
|
+
}
|
|
468
|
+
return cachedTextDecoder.decode(bytes);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
const cachedTextEncoder = new TextEncoder();
|
|
472
|
+
|
|
473
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
474
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
475
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
476
|
+
view.set(buf);
|
|
477
|
+
return {
|
|
478
|
+
read: arg.length,
|
|
479
|
+
written: buf.length,
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
let WASM_VECTOR_LEN = 0;
|
|
485
|
+
|
|
486
|
+
let wasm;
|
|
487
|
+
export function __wbg_set_wasm(val) {
|
|
488
|
+
wasm = val;
|
|
489
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @generated file from wasmbuild -- do not edit
|
|
2
|
+
// @ts-nocheck: generated
|
|
3
|
+
// deno-lint-ignore-file
|
|
4
|
+
// deno-fmt-ignore-file
|
|
5
|
+
// @ts-self-types="./pykrete_front.d.ts"
|
|
6
|
+
|
|
7
|
+
// source-hash: afa9aefa1d6465a2d3d5673f1c8336ad2268404e
|
|
8
|
+
import * as wasm from "./pykrete_front.wasm";
|
|
9
|
+
export * from "./pykrete_front.internal.js";
|
|
10
|
+
import { __wbg_set_wasm } from "./pykrete_front.internal.js";
|
|
11
|
+
__wbg_set_wasm(wasm);
|
|
12
|
+
wasm.__wbindgen_start();
|
|
Binary file
|
package/link/mod.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type AddressCodec, type Port, Rpc } from '@deltarocks/bifrostlink';
|
|
2
|
+
import { link, type PasswordChallengeRequest, type PasswordChallengeResponse } from "../control/mod.js";
|
|
3
|
+
export type Address = 'backend' | 'frontend' | 'worker';
|
|
4
|
+
export type Frontend = link.Frontend.Server<Address>;
|
|
5
|
+
export declare const address: AddressCodec<Address>;
|
|
6
|
+
export declare function callerIs(from: Address, expected: Address): void;
|
|
7
|
+
export type WorkerMessage = {
|
|
8
|
+
Link: MessagePort;
|
|
9
|
+
};
|
|
10
|
+
export declare function workerLink(worker: Worker): Port;
|
|
11
|
+
export type ControlLink = {
|
|
12
|
+
close(): void;
|
|
13
|
+
};
|
|
14
|
+
export type ControlOptions = {
|
|
15
|
+
keysJwk?: string | null;
|
|
16
|
+
};
|
|
17
|
+
export declare class Page {
|
|
18
|
+
#private;
|
|
19
|
+
readonly rpc: Rpc<Address>;
|
|
20
|
+
constructor(worker: Port);
|
|
21
|
+
attach(backend: Port, frontend: Frontend, options?: ControlOptions): ControlLink;
|
|
22
|
+
protectPassword(password: string, challenge: PasswordChallengeRequest, keybaseSort: number | null): Promise<PasswordChallengeResponse>;
|
|
23
|
+
rememberKeybaseMaterial(keybaseSort: number, material: Uint8Array): Promise<void>;
|
|
24
|
+
wrapKeybase(material: Uint8Array): Promise<Uint8Array | null>;
|
|
25
|
+
close(): void;
|
|
26
|
+
}
|
package/link/mod.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { messagePort, Rpc } from '@deltarocks/bifrostlink';
|
|
2
|
+
import { link } from "../control/mod.js";
|
|
3
|
+
import { PdsError } from "../control/pds.js";
|
|
4
|
+
const ADDRESSES = ['backend', 'frontend', 'worker'];
|
|
5
|
+
export const address = {
|
|
6
|
+
encode(address, output) {
|
|
7
|
+
output.write_byte(ADDRESSES.indexOf(address));
|
|
8
|
+
},
|
|
9
|
+
decode(input) {
|
|
10
|
+
const address = ADDRESSES[input.read()];
|
|
11
|
+
if (address === undefined) {
|
|
12
|
+
throw new PdsError('InvalidValue', 'unknown pykrete address');
|
|
13
|
+
}
|
|
14
|
+
return address;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export function callerIs(from, expected) {
|
|
18
|
+
if (from !== expected) {
|
|
19
|
+
throw new Error(`only the ${expected} asks this, not the ${from}`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export function workerLink(worker) {
|
|
23
|
+
return messagePort(new Promise(resolve => worker.addEventListener('message', ({
|
|
24
|
+
data
|
|
25
|
+
}) => resolve(data.Link), {
|
|
26
|
+
once: true
|
|
27
|
+
})));
|
|
28
|
+
}
|
|
29
|
+
export class Page {
|
|
30
|
+
rpc;
|
|
31
|
+
#vault;
|
|
32
|
+
#frontend = null;
|
|
33
|
+
constructor(worker) {
|
|
34
|
+
this.rpc = new Rpc('frontend', address);
|
|
35
|
+
const delegate = new Proxy({}, {
|
|
36
|
+
get: (_, name) => (from, ...rest) => {
|
|
37
|
+
callerIs(from, 'backend');
|
|
38
|
+
const frontend = this.#frontend;
|
|
39
|
+
if (frontend === null) {
|
|
40
|
+
throw new Error('there is no control session');
|
|
41
|
+
}
|
|
42
|
+
const method = Reflect.get(frontend, name);
|
|
43
|
+
return Reflect.apply(method, frontend, [from, ...rest]);
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
link.Frontend.register_endpoints(delegate, this.rpc);
|
|
47
|
+
this.rpc.addDirect('worker', worker);
|
|
48
|
+
this.#vault = new link.Vault.Client(this.rpc.remote('worker'));
|
|
49
|
+
}
|
|
50
|
+
attach(backend, frontend, options = {}) {
|
|
51
|
+
this.rpc.removeDirect('backend');
|
|
52
|
+
this.#frontend = frontend;
|
|
53
|
+
this.#vault.start_session({
|
|
54
|
+
keys_jwk: options.keysJwk ?? null
|
|
55
|
+
}).catch(e => {
|
|
56
|
+
if (!this.rpc.closed) {
|
|
57
|
+
console.warn('pykrete worker refused a new session', e);
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
this.rpc.addDirect('backend', backend);
|
|
61
|
+
return {
|
|
62
|
+
close: () => {
|
|
63
|
+
if (this.#frontend === frontend) {
|
|
64
|
+
this.#frontend = null;
|
|
65
|
+
this.rpc.removeDirect('backend');
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
protectPassword(password, challenge, keybaseSort) {
|
|
71
|
+
return this.#vault.protect_password({
|
|
72
|
+
password,
|
|
73
|
+
challenge,
|
|
74
|
+
keybase_sort: keybaseSort
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
rememberKeybaseMaterial(keybaseSort, material) {
|
|
78
|
+
return this.#vault.keybase_material({
|
|
79
|
+
keybase_sort: keybaseSort,
|
|
80
|
+
material
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
wrapKeybase(material) {
|
|
84
|
+
return this.#vault.wrap_keybase({
|
|
85
|
+
material
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
close() {
|
|
89
|
+
this.rpc.close();
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=mod.js.map
|
package/link/mod.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["mod.ts"],"sourcesContent":["import {\n\ttype AddressCodec,\n\tmessagePort,\n\ttype Port,\n\tRpc,\n} from '@deltarocks/bifrostlink';\nimport {\n\tlink,\n\ttype PasswordChallengeRequest,\n\ttype PasswordChallengeResponse,\n} from '../control/mod.ts';\nimport { type Input, type Output, PdsError } from '../control/pds.ts';\n\nexport type Address = 'backend' | 'frontend' | 'worker';\n\nexport type Frontend = link.Frontend.Server<Address>;\n\nconst ADDRESSES: readonly Address[] = ['backend', 'frontend', 'worker'];\n\nexport const address: AddressCodec<Address> = {\n\tencode(address: Address, output: Output) {\n\t\toutput.write_byte(ADDRESSES.indexOf(address));\n\t},\n\tdecode(input: Input): Address {\n\t\tconst address = ADDRESSES[input.read()];\n\t\tif (address === undefined) {\n\t\t\tthrow new PdsError('InvalidValue', 'unknown pykrete address');\n\t\t}\n\t\treturn address;\n\t},\n};\n\nexport function callerIs(from: Address, expected: Address): void {\n\tif (from !== expected) {\n\t\tthrow new Error(`only the ${expected} asks this, not the ${from}`);\n\t}\n}\n\nexport type WorkerMessage = { Link: MessagePort };\n\nexport function workerLink(worker: Worker): Port {\n\treturn messagePort(\n\t\tnew Promise<MessagePort>((resolve) =>\n\t\t\tworker.addEventListener(\n\t\t\t\t'message',\n\t\t\t\t({ data }: MessageEvent<WorkerMessage>) => resolve(data.Link),\n\t\t\t\t{ once: true },\n\t\t\t)\n\t\t),\n\t);\n}\n\nexport type ControlLink = {\n\tclose(): void;\n};\n\nexport type ControlOptions = {\n\tkeysJwk?: string | null;\n};\n\nexport class Page {\n\treadonly rpc: Rpc<Address>;\n\t#vault: link.Vault.Client<Address>;\n\t#frontend: Frontend | null = null;\n\n\tconstructor(worker: Port) {\n\t\tthis.rpc = new Rpc<Address>('frontend', address);\n\t\tconst delegate = new Proxy({} as Frontend, {\n\t\t\tget: (_, name) => (from: Address, ...rest: unknown[]) => {\n\t\t\t\tcallerIs(from, 'backend');\n\t\t\t\tconst frontend = this.#frontend;\n\t\t\t\tif (frontend === null) {\n\t\t\t\t\tthrow new Error('there is no control session');\n\t\t\t\t}\n\t\t\t\tconst method = Reflect.get(frontend, name) as (\n\t\t\t\t\t...args: unknown[]\n\t\t\t\t) => unknown;\n\t\t\t\treturn Reflect.apply(method, frontend, [from, ...rest]);\n\t\t\t},\n\t\t});\n\t\tlink.Frontend.register_endpoints(delegate, this.rpc);\n\t\tthis.rpc.addDirect('worker', worker);\n\t\tthis.#vault = new link.Vault.Client(this.rpc.remote('worker'));\n\t}\n\n\tattach(\n\t\tbackend: Port,\n\t\tfrontend: Frontend,\n\t\toptions: ControlOptions = {},\n\t): ControlLink {\n\t\tthis.rpc.removeDirect('backend');\n\t\tthis.#frontend = frontend;\n\t\tthis.#vault.start_session({ keys_jwk: options.keysJwk ?? null }).catch(\n\t\t\t(e) => {\n\t\t\t\tif (!this.rpc.closed) {\n\t\t\t\t\tconsole.warn('pykrete worker refused a new session', e);\n\t\t\t\t}\n\t\t\t},\n\t\t);\n\t\tthis.rpc.addDirect('backend', backend);\n\t\treturn {\n\t\t\tclose: () => {\n\t\t\t\tif (this.#frontend === frontend) {\n\t\t\t\t\tthis.#frontend = null;\n\t\t\t\t\tthis.rpc.removeDirect('backend');\n\t\t\t\t}\n\t\t\t},\n\t\t};\n\t}\n\n\tprotectPassword(\n\t\tpassword: string,\n\t\tchallenge: PasswordChallengeRequest,\n\t\tkeybaseSort: number | null,\n\t): Promise<PasswordChallengeResponse> {\n\t\treturn this.#vault.protect_password({\n\t\t\tpassword,\n\t\t\tchallenge,\n\t\t\tkeybase_sort: keybaseSort,\n\t\t});\n\t}\n\n\trememberKeybaseMaterial(\n\t\tkeybaseSort: number,\n\t\tmaterial: Uint8Array,\n\t): Promise<void> {\n\t\treturn this.#vault.keybase_material({\n\t\t\tkeybase_sort: keybaseSort,\n\t\t\tmaterial,\n\t\t});\n\t}\n\n\twrapKeybase(material: Uint8Array): Promise<Uint8Array | null> {\n\t\treturn this.#vault.wrap_keybase({ material });\n\t}\n\n\tclose(): void {\n\t\tthis.rpc.close();\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
package/link/worker.d.ts
ADDED