Skip to content

Commit

Permalink
remove hex check
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Oct 24, 2024
1 parent b996800 commit 2be8fb1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/secrets/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ class AES256EncryptionService {

export const env = createEnv({
server: {
VARIABLES_AES_256_KEY: z
.string()
.min(64)
.max(64)
.regex(/^[0-9a-fA-F]+$/, "Key must be hexadecimal"),
VARIABLES_AES_256_KEY: z.string().min(64).max(64),
},
runtimeEnv: process.env,
skipValidation:
Expand Down

0 comments on commit 2be8fb1

Please sign in to comment.