You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
16 KiB
1 line
16 KiB
4 years ago
|
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/async-components/views/dialogs/security/CreateSecretStorageDialog.js","webpack:///./node_modules/file-saver/FileSaver.js","webpack:///(webpack)/buildin/amd-define.js","webpack:///(webpack)/buildin/amd-options.js"],"names":["PHASE_PASSPHRASE","CreateSecretStorageDialog","React","PureComponent","constructor","props","super","this","state","phase","_fetchBackupInfo","e","setState","passPhraseKeySelected","target","value","n","_recoveryKeyNode","async","_recoveryKey","MatrixClientPeg","get","createRecoveryKeyFromPassphrase","copied","downloaded","setPassphrase","preventDefault","backupSigStatus","usable","_bootstrapSecretStorage","_restoreBackup","copyNode","blob","Blob","encodedPrivateKey","type","FileSaver","saveAs","canUploadKeysWithPasswordOnly","accountPassword","makeRequest","identifier","user","getUserId","password","InteractiveAuthDialog","sdk","dialogAesthetics","SSOAuthEntry","PHASE_PREAUTH","title","_t","body","continueText","continueKind","PHASE_POSTAUTH","finished","Modal","createTrackedDialog","matrixClient","aestheticsForStagePhases","LOGIN_TYPE","UNSTABLE_LOGIN_TYPE","confirmed","Error","error","cli","forceReset","console","log","bootstrapSecretStorage","createSecretStorageKey","setupNewKeyBackup","setupNewSecretStorage","bootstrapCrossSigning","authUploadDeviceSigningKeys","_doBootstrapUIAuth","keyBackupInfo","backupInfo","getKeyBackupPassphrase","_backupKey","promptForBackupPassphrase","onFinished","httpStatus","data","flows","accountPasswordCorrect","RestoreKeyBackupDialog","showSummary","keyCallback","k","_passphraseField","current","validate","allowEmpty","valid","focus","focused","passPhrase","passPhraseConfirm","passPhraseValid","result","canSkip","isSecureBackupRequired","getSecureBackupSetupMethods","includes","createRef","on","_onKeyBackupStatusChange","_queryKeyUploadAuth","_getInitialPhase","componentWillUnmount","removeListener","keyFromCustomisations","SecurityCustomisations","privateKey","getKeyBackupVersion","isCryptoEnabled","isKeyBackupTrusted","uploadDeviceSigningKeys","some","f","stages","length","_renderOptionKey","key","name","checked","onChange","_onKeyPassphraseChange","outlined","className","_renderOptionPassphrase","_renderPhaseChooseKeyPassphrase","setupMethods","optionKey","optionPassphrase","onSubmit","_onChooseKeyPassphraseFormSubmit","role","primaryButton","onPrimaryButtonClick","onCancel","_onCancelClick","hasCancel","_renderPhaseMigrate","Field","authPrompt","nextCaption","label","_onAccountPasswordChange","forceValidity","autoFocus","_onMigrateFormSubmit","primaryDisabled","onClick","_renderPhasePassPhrase","_onPassPhraseNextClick","_onPassPhraseChange","minScore","onValidate","_onPassPhraseValidate","fieldRef","_td","labelEnterPassword","labelStrongPassword","labelAllowedButUnsafe","disabled","_renderPhasePassPhraseConfirm","matchText","changeText","startsWith","passPhraseMatch","element","_onSetAgainClick","_onPassPhraseConfirmNextClick","_onPassPhraseConfirmChange","autoComplete","_renderPhaseShowKey","continueButton","_onShowKeyContinueClick","ref","_collectRecoveryKeyNode","kind","_onDownloadClick","_onCopyClick","_renderBusyPhase","Spinner","_renderPhaseLoadError","_onLoadRetryClick","_onCancel","_renderPhaseSkipConfirm","_onGoBackClick","_titleForPhase","render","BaseDialog","content","titleClass","fixedWidth","PropTypes","bool","string","view","navigator","test","userAgent","doc","document","get_URL","URL","webkitURL","save_link","createElementNS","can_use_save_link","is_safari","HTMLElement","safari","is_chrome_ios","throw_outside","ex","setImmediate","setTimeout","revoke","file","revokeObjectURL","remove","auto_bom","String","fromCharCode","no_auto_bom","object_url","filesaver","force","dispatch_all","event_types","event","i","concat","listener","call","dispatch","split","readyState","INIT","createObjectURL","node","href","download","MouseEvent","dispatchEvent","DONE","FileReader","reader","onloadend","url","replace","open","location","undefined","readAsDataURL","fs_error","FS_proto","prototype
|