-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* migrate `<Documentation>` * i18n `<LangSelector>` fixes for admin UI -> reduced set of translations * fully responsive `<NavSub>` + `<NavLinkSub>` * update `<Documentation>` * rework `/admin/config` base layout * migrate `/admin/config/policy` * migrate `/admin/config/jwks` * add additional i18n info for JWKS * migrate `<Argon2Params>` + `<Argon2Utility>` + `<Argon2Results>` * migrate `<EncKeys>` * fix `/config` nav link highlight
- Loading branch information
Showing
912 changed files
with
3,645 additions
and
3,032 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export interface EncKeyMigrateRequest { | ||
/// Validation: PATTERN_ALNUM | ||
key_id: string, | ||
} | ||
|
||
export interface EncKeysResponse { | ||
active: string, | ||
keys: string[], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export interface Argon2ParamsResponse { | ||
m_cost: number, | ||
t_cost: number, | ||
p_cost: number, | ||
} | ||
|
||
export interface LoginTimeResponse { | ||
argon2_params: Argon2ParamsResponse, | ||
login_time: number, | ||
num_cpus: number, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export type JwkKeyPairAlg = 'RS256' | 'RS384' | 'RS512' | 'EdDSA'; | ||
export type JwkKeyPairType = 'RSA' | 'OKP'; | ||
|
||
export interface JWKSPublicKeyCerts { | ||
kty: JwkKeyPairType, | ||
alg: JwkKeyPairAlg, | ||
// Ed25519 | ||
crv?: string, | ||
kid?: string, | ||
// RSA | ||
n?: string, | ||
// RSA | ||
e?: string, | ||
// OCT | ||
x?: string, | ||
} | ||
|
||
export interface JWKSCerts { | ||
keys: JWKSPublicKeyCerts[], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export interface PasswordHashTimesRequest { | ||
/// Validation: min 500 | ||
target_time: number, | ||
/// Validation: min 32768 | ||
m_cost?: number, | ||
/// Validation: min 2 | ||
p_cost?: number, | ||
} | ||
|
||
export interface PasswordHashTime { | ||
alg: string, | ||
m_cost: number, | ||
t_cost: number, | ||
p_cost: number, | ||
time_taken: number, | ||
} | ||
|
||
export interface PasswordHashTimes { | ||
results: PasswordHashTime[], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
194 changes: 0 additions & 194 deletions
194
frontend/src/components/admin/config/argon2/Argon2Params.svelte
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.