Secret Character Modifier #614

Closed
opened 2024-05-01 11:28:47 +00:00 by moritz · 1 comment
Member

Following coop-cloud/organising#535 and coop-cloud/abra#391 abra has the modifier length=x for secrets to determine how long a secret should be and generates secrets according to this length.
Some apps require specific character sets for secrets:
coop-cloud/organising#510
coop-cloud/outline#12

I would propose further modifiers charset and character, which can be used to generate secrets:

SECRET_KEY_VERSION=v1  # length=64, charset=hex
SECRET_KEY_VERSION=v1  # length=64, charset=base64
SECRET_KEY_VERSION=v1  # length=64, charset=alphanumeric
SECRET_KEY_VERSION=v1  # length=64, character=abcdefghijklmnopqrstuvwxyz0123456789
Following https://git.coopcloud.tech/coop-cloud/organising/issues/535 and https://git.coopcloud.tech/coop-cloud/abra/pulls/391 `abra` has the modifier `length=x` for secrets to determine how long a secret should be and generates secrets according to this length. Some apps require specific character sets for secrets: https://git.coopcloud.tech/coop-cloud/organising/issues/510 https://git.coopcloud.tech/coop-cloud/outline/issues/12 I would propose further modifiers `charset` and `character`, which can be used to generate secrets: ``` SECRET_KEY_VERSION=v1 # length=64, charset=hex SECRET_KEY_VERSION=v1 # length=64, charset=base64 SECRET_KEY_VERSION=v1 # length=64, charset=alphanumeric SECRET_KEY_VERSION=v1 # length=64, character=abcdefghijklmnopqrstuvwxyz0123456789 ```
moritz added the
enhancement
label 2024-05-01 11:28:47 +00:00
Owner
https://git.coopcloud.tech/toolshed/abra/pulls/521
Sign in to join this conversation.
No description provided.