Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
feat(device): use ECC ciphers
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Nov 25, 2020
1 parent 0022d48 commit fe0e328
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cli/jitp/createDeviceCertificate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ export const createDeviceCertificate = async ({

await run({
command: 'openssl',
args: ['genrsa', '-out', deviceFiles.key, '2048'],
args: [
'ecparam',
'-out',
deviceFiles.key,
'-name',
'prime256v1',
'-genkey',
],
log: debug,
})

Expand Down

0 comments on commit fe0e328

Please sign in to comment.