23 lines
383 B
JavaScript
23 lines
383 B
JavaScript
Loading = {
|
|
template: "#Loading",
|
|
router_path: "/",
|
|
|
|
props: [],
|
|
data: function() {
|
|
return {
|
|
password: '',
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
|
|
async generate_aes_key (password) {
|
|
|
|
const key = await this.deriveKeyFromPassphrase(password, "{{ user_setting.id }}--aes")
|
|
this.$emit("update_key", key)
|
|
|
|
},
|
|
|
|
}
|
|
}
|