mirror of
https://codeberg.org/valpackett/tiddlypwa.git
synced 2025-12-06 02:30:48 -08:00
Update argon2ian to 2.0.0
This commit is contained in:
parent
dd3bf5ffeb
commit
ea66f1f19a
5 changed files with 47 additions and 21 deletions
|
|
@ -6,5 +6,10 @@
|
|||
"singleQuote": true,
|
||||
"proseWrap": "preserve"
|
||||
}
|
||||
},
|
||||
"imports": {
|
||||
"https://deno.land/std@0.159.0/": "https://deno.land/std@0.192.0/",
|
||||
"https://deno.land/std@0.170.0/": "https://deno.land/std@0.192.0/",
|
||||
"https://deno.land/std@0.186.0/": "https://deno.land/std@0.192.0/"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
33
deno.lock
generated
33
deno.lock
generated
|
|
@ -1,10 +1,8 @@
|
|||
{
|
||||
"version": "2",
|
||||
"remote": {
|
||||
"https://deno.land/std@0.159.0/encoding/ascii85.ts": "f2b9cb8da1a55b3f120d3de2e78ac993183a4fd00dfa9cb03b51cf3a75bc0baa",
|
||||
"https://deno.land/std@0.186.0/_util/asserts.ts": "178dfc49a464aee693a7e285567b3d0b555dc805ff490505a8aae34f9cfb1462",
|
||||
"https://deno.land/std@0.186.0/crypto/timing_safe_equal.ts": "0fae34ee02264f309ae0b6e54e9746a7aba3996e5454903ed106967a7a9ef665",
|
||||
"https://deno.land/std@0.192.0/_util/asserts.ts": "178dfc49a464aee693a7e285567b3d0b555dc805ff490505a8aae34f9cfb1462",
|
||||
"https://deno.land/std@0.192.0/_util/os.ts": "d932f56d41e4f6a6093d56044e29ce637f8dcc43c5a90af43504a889cf1775e3",
|
||||
"https://deno.land/std@0.192.0/async/abortable.ts": "fd682fa46f3b7b16b4606a5ab52a7ce309434b76f820d3221bdfb862719a15d7",
|
||||
"https://deno.land/std@0.192.0/async/deadline.ts": "58f72a3cc0fcb731b2cc055ba046f4b5be3349ff6bf98f2e793c3b969354aab2",
|
||||
"https://deno.land/std@0.192.0/async/debounce.ts": "adab11d04ca38d699444ac8a9d9856b4155e8dda2afd07ce78276c01ea5a4332",
|
||||
|
|
@ -17,16 +15,39 @@
|
|||
"https://deno.land/std@0.192.0/async/tee.ts": "47e42d35f622650b02234d43803d0383a89eb4387e1b83b5a40106d18ae36757",
|
||||
"https://deno.land/std@0.192.0/collections/filter_values.ts": "5b9feaf17b9a6e5ffccdd36cf6f38fa4ffa94cff2602d381c2ad0c2a97929652",
|
||||
"https://deno.land/std@0.192.0/collections/without_all.ts": "a89f5da0b5830defed4f59666e188df411d8fece35a5f6ca69be6ca71a95c185",
|
||||
"https://deno.land/std@0.192.0/crypto/timing_safe_equal.ts": "0fae34ee02264f309ae0b6e54e9746a7aba3996e5454903ed106967a7a9ef665",
|
||||
"https://deno.land/std@0.192.0/dotenv/mod.ts": "f5a8123741d1561ae8184a7f043bc097b15132c5171c651142b804b6dbc21853",
|
||||
"https://deno.land/std@0.192.0/encoding/ascii85.ts": "b87bc896283cc76adcb2d14b6c867c4951fddea8c5d27010f8c0e6f1617bb0d7",
|
||||
"https://deno.land/std@0.192.0/encoding/base64.ts": "144ae6234c1fbe5b68666c711dc15b1e9ee2aef6d42b3b4345bf9a6c91d70d0d",
|
||||
"https://deno.land/std@0.192.0/encoding/base64url.ts": "2ed4ba122b20fedf226c5d337cf22ee2024fa73a8f85d915d442af7e9ce1fae1",
|
||||
"https://deno.land/std@0.192.0/flags/mod.ts": "17f444ddbee43c5487568de0c6a076c7729cfe90d96d2ffcd2b8f8adadafb6e8",
|
||||
"https://deno.land/std@0.192.0/fmt/colors.ts": "d67e3cd9f472535241a8e410d33423980bec45047e343577554d3356e1f0ef4e",
|
||||
"https://deno.land/std@0.192.0/http/server.ts": "1b23463b5b36e4eebc495417f6af47a6f7d52e3294827a1226d2a1aab23d9d20",
|
||||
"https://deno.land/x/argon2ian@1.0.5/src/async.ts": "58193573c0396986272295882936d08e7545bb25116008af0a7346536507b7f3",
|
||||
"https://deno.land/x/argon2ian@1.0.5/src/gen/worker.blob.js": "882885611ad3e2cc56fdabfd4145ff294a1b9071bfd91452e8e5b0dc6a93dc64",
|
||||
"https://deno.land/x/argon2ian@1.0.5/src/types.ts": "961dec0306a725b7c7f2587a87bd1694fc6ef9382ce0a17766a0352a773fe7d1",
|
||||
"https://deno.land/std@0.192.0/path/_constants.ts": "e49961f6f4f48039c0dfed3c3f93e963ca3d92791c9d478ac5b43183413136e0",
|
||||
"https://deno.land/std@0.192.0/path/_interface.ts": "6471159dfbbc357e03882c2266d21ef9afdb1e4aa771b0545e90db58a0ba314b",
|
||||
"https://deno.land/std@0.192.0/path/_util.ts": "d7abb1e0dea065f427b89156e28cdeb32b045870acdf865833ba808a73b576d0",
|
||||
"https://deno.land/std@0.192.0/path/common.ts": "ee7505ab01fd22de3963b64e46cff31f40de34f9f8de1fff6a1bd2fe79380000",
|
||||
"https://deno.land/std@0.192.0/path/glob.ts": "d479e0a695621c94d3fd7fe7abd4f9499caf32a8de13f25073451c6ef420a4e1",
|
||||
"https://deno.land/std@0.192.0/path/mod.ts": "f065032a7189404fdac3ad1a1551a9ac84751d2f25c431e101787846c86c79ef",
|
||||
"https://deno.land/std@0.192.0/path/posix.ts": "8b7c67ac338714b30c816079303d0285dd24af6b284f7ad63da5b27372a2c94d",
|
||||
"https://deno.land/std@0.192.0/path/separator.ts": "0fb679739d0d1d7bf45b68dacfb4ec7563597a902edbaf3c59b50d5bcadd93b1",
|
||||
"https://deno.land/std@0.192.0/path/win32.ts": "d186344e5583bcbf8b18af416d13d82b35a317116e6460a5a3953508c3de5bba",
|
||||
"https://deno.land/x/argon2ian@2.0.0/src/argon2.ts": "24b9529ac21b7e1fee0be7c5cce513bb2955735ed6e23313b05c107254fb7c22",
|
||||
"https://deno.land/x/argon2ian@2.0.0/src/gen/argon2.blob.js": "b0ff951c481b60bb30afbf812a9393608e1e15698505593f58eb7842a76c5cd8",
|
||||
"https://deno.land/x/argon2ian@2.0.0/src/types.ts": "981cbb3d39809f6e9dc81116be5b3aeb7ad40389d91e54bf3501c6bef00f7494",
|
||||
"https://deno.land/x/brotli@0.1.7/mod.ts": "08b913e51488b6e7fa181f2814b9ad087fdb5520041db0368f8156bfa45fd73e",
|
||||
"https://deno.land/x/brotli@0.1.7/wasm.js": "77771b89e89ec7ff6e3e0939a7fb4f9b166abec3504cec0532ad5c127d6f35d2",
|
||||
"https://deno.land/x/cliffy@v0.25.7/ansi/ansi_escapes.ts": "885f61f343223f27b8ec69cc138a54bea30542924eacd0f290cd84edcf691387",
|
||||
"https://deno.land/x/cliffy@v0.25.7/ansi/cursor_position.ts": "d537491e31d9c254b208277448eff92ff7f55978c4928dea363df92c0df0813f",
|
||||
"https://deno.land/x/cliffy@v0.25.7/ansi/deps.ts": "0f35cb7e91868ce81561f6a77426ea8bc55dc15e13f84c7352f211023af79053",
|
||||
"https://deno.land/x/cliffy@v0.25.7/ansi/tty.ts": "8fb064c17ead6cdf00c2d3bc87a9fd17b1167f2daa575c42b516f38bdb604673",
|
||||
"https://deno.land/x/cliffy@v0.25.7/keycode/key_code.ts": "c4ab0ffd102c2534962b765ded6d8d254631821bf568143d9352c1cdcf7a24be",
|
||||
"https://deno.land/x/cliffy@v0.25.7/keycode/key_codes.ts": "917f0a2da0dbace08cf29bcfdaaa2257da9fe7e705fff8867d86ed69dfb08cfe",
|
||||
"https://deno.land/x/cliffy@v0.25.7/prompt/_generic_input.ts": "737cff2de02c8ce35250f5dd79c67b5fc176423191a2abd1f471a90dd725659e",
|
||||
"https://deno.land/x/cliffy@v0.25.7/prompt/_generic_prompt.ts": "8630ce89a66d83e695922df41721cada52900b515385d86def597dea35971bb2",
|
||||
"https://deno.land/x/cliffy@v0.25.7/prompt/deps.ts": "4c38ab18e55a792c9a136c1c29b2b6e21ea4820c45de7ef4cf517ce94012c57d",
|
||||
"https://deno.land/x/cliffy@v0.25.7/prompt/figures.ts": "26af0fbfe21497220e4b887bb550fab997498cde14703b98e78faf370fbb4b94",
|
||||
"https://deno.land/x/cliffy@v0.25.7/prompt/secret.ts": "58745f5231fb2c44294c4acf2511f8c5bfddfa1e12f259580ff90dedea2703d6",
|
||||
"https://deno.land/x/kv_toolbox@0.0.2/blob.ts": "3458bd57ad5a1861292d9ef6f43eaec399aecc9de361f1acb5bd21c53d41a824",
|
||||
"https://deno.land/x/kv_toolbox@0.0.2/keys.ts": "161bb4cfe9b7625a7b55d5f7e545ace34add39e58d2a0e5e67750f185789f3ac",
|
||||
"https://deno.land/x/lz4@v0.1.2/mod.ts": "4decfc1a3569d03fd1813bd39128b71c8f082850fe98ecfdde20025772916582",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/// <reference lib="deno.window" />
|
||||
import { Secret } from 'https://deno.land/x/cliffy@v0.25.7/prompt/secret.ts';
|
||||
import { hash } from 'https://deno.land/x/argon2ian@1.0.5/src/argon2.ts';
|
||||
import { hash } from 'https://deno.land/x/argon2ian@2.0.0/src/argon2.ts';
|
||||
import { encode } from 'https://deno.land/std@0.192.0/encoding/base64url.ts';
|
||||
|
||||
const password = await Secret.prompt('New admin password');
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -5,7 +5,7 @@ import * as base64nourl from 'https://deno.land/std@0.192.0/encoding/base64.ts';
|
|||
import * as dotenv from 'https://deno.land/std@0.192.0/dotenv/mod.ts';
|
||||
import { parse as argparse } from 'https://deno.land/std@0.192.0/flags/mod.ts';
|
||||
import { serveListener } from 'https://deno.land/std@0.192.0/http/server.ts';
|
||||
import * as argon from 'https://deno.land/x/argon2ian@1.0.5/src/argon2.ts';
|
||||
import * as argon from 'https://deno.land/x/argon2ian@2.0.0/src/argon2.ts';
|
||||
import * as brotli from 'https://deno.land/x/brotli@0.1.7/mod.ts';
|
||||
import * as blob from 'https://deno.land/x/kv_toolbox@0.0.2/blob.ts';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue