-
Notifications
You must be signed in to change notification settings - Fork 5
Adding privateKeyPath back to PolykeyAgent #600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ import type { DeepPartial, FileSystem } from './types'; | |
| import type { PolykeyWorkerManagerInterface } from './workers/types'; | ||
| import type { TLSConfig } from './network/types'; | ||
| import type { SeedNodes } from './nodes/types'; | ||
| import type { Key, PasswordOpsLimit, PasswordMemLimit } from './keys/types'; | ||
| import type { Key, PasswordOpsLimit, PasswordMemLimit, PrivateKey } from "./keys/types"; | ||
| import path from 'path'; | ||
| import process from 'process'; | ||
| import Logger from '@matrixai/logger'; | ||
|
|
@@ -61,6 +61,8 @@ type PolykeyAgentOptions = { | |
| certDuration: number; | ||
| certRenewLeadTime: number; | ||
| recoveryCode: string; | ||
| privateKeyPath: string; | ||
| privateKey: PrivateKey; | ||
|
Comment on lines
+64
to
+65
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The So if you want to keep this then you should be using Also
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These 2 options aren't even being used, if these 2 options are to be used, they should be passed to the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @addievo link the new PR to fix this.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The And also in the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also the Which ensures mutually independent options.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So: And |
||
| }; | ||
| client: { | ||
| keepAliveTimeoutTime: number; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.