Skip to content

Commit

Permalink
fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vaf-hub committed Dec 16, 2024
1 parent 09bc2eb commit f492bbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/tutanota-crypto/lib/encryption/KeyEncryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export type EncryptedRsaEccKeyPairs = {

export function isEncryptedPqKeyPairs(keyPair: AbstractEncryptedKeyPair): keyPair is EncryptedPqKeyPairs {
return (
keyPair.pubEccKey!! &&
keyPair.pubKyberKey!! &&
keyPair.symEncPrivEccKey!! &&
keyPair.symEncPrivKyberKey!! &&
keyPair.pubEccKey != null &&
keyPair.pubKyberKey != null &&
keyPair.symEncPrivEccKey != null &&
keyPair.symEncPrivKyberKey != null &&
keyPair.pubRsaKey == null &&
keyPair.symEncPrivRsaKey == null
)
Expand Down

0 comments on commit f492bbd

Please sign in to comment.