Skip to content

Added support for Enterprise role and node commands#215

Open
sgaddala-ks wants to merge 2 commits into
mainfrom
feature-enterprise-role-commands-rel
Open

Added support for Enterprise role and node commands#215
sgaddala-ks wants to merge 2 commits into
mainfrom
feature-enterprise-role-commands-rel

Conversation

@sgaddala-ks

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread keeperapi/src/vault.ts
Comment thread keeperapi/src/browser/platform.ts
Comment thread keeperapi/src/browser/platform.ts Outdated
Comment thread keeperapi/src/browser/platform.ts Outdated
Comment thread keeperapi/src/browser/platform.ts Outdated
Comment thread keeperapi/src/commands.ts Outdated
Comment thread keeperapi/src/commands.ts

export type NodeEditRequest = {
node_id: number
parent_id?: number

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread keeperapi/src/commands.ts Outdated
storage?: KeyStorage,
canExport?: boolean
): Promise<void> {
const key = await this.importPrivateKeyEC(privateKey, publicKey)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this new canExport param isn't actually passed through to importPrivateKeyEC, so technically this doesn't add anything, it'll always create extractable CryptoKeys as is. So should either undo this, or pipe the value through to the import private EC function to respect user intent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants