Skip to content

Commit

Permalink
Avoid md5
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Mar 13, 2023
1 parent 0ea533e commit a8d4930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spec-node/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export function getFolderImageName(params: ResolverParameters | DockerCLIParamet
}

export function getFolderHash(fsPath: string): string {
return crypto.createHash('md5').update(fsPath).digest('hex');
return crypto.createHash('sha256').update(fsPath).digest('hex');
}

export async function createFeaturesTempFolder(params: { cliHost: CLIHost; package: PackageConfiguration }): Promise<string> {
Expand Down

0 comments on commit a8d4930

Please sign in to comment.