mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 09:26:47 +00:00
comment out corrupt seed files
This commit is contained in:
committed by
Akhil Mohan
parent
8eace5528f
commit
b9320ed9bd
@@ -130,11 +130,11 @@ export const buildUserProjectKey = async (privateKey: string, publickey: string)
|
|||||||
return { nonce, ciphertext };
|
return { nonce, ciphertext };
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getUserProjectKey = async (privateKey: string) => {
|
// export const getUserProjectKey = async (privateKey: string) => {
|
||||||
const key = decryptAsymmetric({
|
// const key = decryptAsymmetric({
|
||||||
ciphertext: decryptFileKey.encryptedKey,
|
// ciphertext: decryptFileKey.encryptedKey,
|
||||||
nonce: decryptFileKey.nonce,
|
// nonce: decryptFileKey.nonce,
|
||||||
publicKey: decryptFileKey.sender.publicKey,
|
// publicKey: decryptFileKey.sender.publicKey,
|
||||||
privateKey: PRIVATE_KEY
|
// privateKey: PRIVATE_KEY
|
||||||
});
|
// });
|
||||||
};
|
// };
|
||||||
|
|||||||
@@ -25,10 +25,10 @@ export async function seed(knex: Knex): Promise<void> {
|
|||||||
})
|
})
|
||||||
.returning("*");
|
.returning("*");
|
||||||
|
|
||||||
await knex(TableName.ProjectKeys).insert({
|
// await knex(TableName.ProjectKeys).insert({
|
||||||
projectId: project.id,
|
// projectId: project.id,
|
||||||
senderId: seedData1.id
|
// senderId: seedData1.id
|
||||||
});
|
// });
|
||||||
|
|
||||||
await knex(TableName.ProjectMembership).insert({
|
await knex(TableName.ProjectMembership).insert({
|
||||||
projectId: project.id,
|
projectId: project.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user