Skip to content

feat(awm): fix recovery handlers to support dual key provider#197

Merged
margueriteblair merged 1 commit intomasterfrom
margieblair/wcn-363-akm-fix-recovery-handlers-to-support-dual-key-provider
May 9, 2026
Merged

feat(awm): fix recovery handlers to support dual key provider#197
margueriteblair merged 1 commit intomasterfrom
margieblair/wcn-363-akm-fix-recovery-handlers-to-support-dual-key-provider

Conversation

@margueriteblair
Copy link
Copy Markdown
Contributor

No description provided.

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 4, 2026

@margueriteblair margueriteblair changed the title Margieblair/wcn 363 akm fix recovery handlers to support dual key provider feat(awm): fix recovery handlers to support dual key provider May 5, 2026
@margueriteblair margueriteblair force-pushed the margieblair/wcn-363-akm-fix-recovery-handlers-to-support-dual-key-provider branch 5 times, most recently from 86ef8bf to b5bd309 Compare May 8, 2026 14:00
@margueriteblair
Copy link
Copy Markdown
Contributor Author

@claude

@margueriteblair margueriteblair force-pushed the margieblair/wcn-363-akm-fix-recovery-handlers-to-support-dual-key-provider branch from b5bd309 to aaab565 Compare May 8, 2026 14:38
@margueriteblair margueriteblair marked this pull request as ready for review May 8, 2026 14:57
@margueriteblair margueriteblair requested a review from a team as a code owner May 8, 2026 14:57
@margueriteblair margueriteblair requested a review from alextse-bg May 8, 2026 14:57
Comment thread src/advancedWalletManager/handlers/ecdsaMPCV2Recovery.ts Outdated
Comment thread src/masterBitgoExpress/clients/advancedWalletManagerClient.ts
Comment thread src/masterBitgoExpress/clients/advancedWalletManagerClient.ts
Comment thread src/advancedWalletManager/handlers/ecdsaMPCV2Recovery.ts Outdated
...(cfg.backupKmsClientTlsCert !== undefined && {
keyProviderClientTlsCert: cfg.backupKmsClientTlsCert,
}),
...(cfg.backupKmsServerCertAllowSelfSigned !== undefined && {
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.

we're doing in the config:

  readEnvVar('BACKUP_KMS_SERVER_CERT_ALLOW_SELF_SIGNED') === 'true',

so that value will always be true or false, never undefined // we should either set:

readEnvVar('BACKUP_KMS_SERVER_CERT_ALLOW_SELF_SIGNED') 

Or update the check here to validate boolean (maybe the former is better)

@margueriteblair margueriteblair force-pushed the margieblair/wcn-363-akm-fix-recovery-handlers-to-support-dual-key-provider branch from aaab565 to 3cae6fc Compare May 8, 2026 20:11
pranishnepal
pranishnepal previously approved these changes May 8, 2026
@margueriteblair margueriteblair force-pushed the margieblair/wcn-363-akm-fix-recovery-handlers-to-support-dual-key-provider branch from 3cae6fc to decefd1 Compare May 9, 2026 03:34
@margueriteblair margueriteblair merged commit eb0a27c into master May 9, 2026
20 checks passed
@margueriteblair margueriteblair deleted the margieblair/wcn-363-akm-fix-recovery-handlers-to-support-dual-key-provider branch May 9, 2026 03:49
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