Skip to content
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

PM-3331 - TDE - Firefox - Browser extension - fix access denied error… #5984

PM-3331 - After discussion with Andre, further refactor ConfigService…

926438b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

PM-3331 - TDE - Firefox - Browser extension - fix access denied error… #5984

PM-3331 - After discussion with Andre, further refactor ConfigService…
926438b
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Aug 8, 2023 in 1s

Test Results ❌

Tests failed

❌ junit.xml

1190 tests were completed in 93s with 1144 passed, 45 failed and 1 skipped.

Test suite Passed Failed Skipped Time
1Password 1Pif Importer 5✔️ 1s
1Password 1Pux Importer 29✔️ 18s
1Password mac CSV Importer 3✔️ 522ms
1Password windows CSV Importer 3✔️ 636ms
AccessSelectorComponent 15✔️ 16s
Account 2✔️ 315ms
AccountKeys 9✔️ 496ms
AccountProfile 1✔️ 323ms
AccountSettings 2✔️ 640ms
AccountTokens 1✔️ 362ms
Attachment 9✔️ 635ms
AttachmentView 1✔️ 374ms
AuthRequestCryptoService 5✔️ 699ms
BannerComponent 2✔️ 763ms
BaseImporter class 26✔️ 269ms
biometrics tests 6✔️ 3s
BitwardenPasswordProtectedImporter 11✔️ 475ms
Browser Session Storage Service 28✔️ 3s
Browser State Service 4✔️ 532ms
Browser Utils Service 15✔️ 298ms
browserSession decorator 5✔️ 717ms
builder 3✔️ 229ms
Button 6✔️ 2s
Button 3✔️ 911ms
Button 3✔️ 797ms
Callout 4✔️ 848ms
canAccessFeature 9✔️ 10s
Card 6✔️ 480ms
Chrome CSV Importer 2✔️ 745ms
Cipher DTO 19✔️ 4s
Cipher Service 1✔️ 2s
CipherContextMenuHandler 6✔️ 13s
CipherView 5✔️ 930ms
cleanUserAgent 4✔️ 633ms
clearClipboard 2✔️ 259ms
CLI Console log service 2✔️ 989ms
Collection 3✔️ 364ms
CollectionUtils Service 1✔️ 847ms
combine 1✔️ 247ms
commaSeparatedEmails 5✔️ 733ms
ConsoleLogService 5✔️ 164ms
context-menu 7✔️ 458ms
ContextMenuClickedHandler 7✔️ 18s
createFilter 20✔️ 2s
cryptoService 11✔️ 2s
Dashlane CSV Importer 7✔️ 1s
devFlag decorator 2✔️ 221ms
deviceTrustCryptoService 32✔️ 6s
electronCryptoService 4✔️ 1s
ElectronLogService 1✔️ 870ms
encArrayBuffer 7✔️ 335ms
EncryptionPair 3✔️ 275ms
EncryptService 11✔️ 1s
EncString 24✔️ 712ms
Enpass JSON Importer 5✔️ 960ms
Field 6✔️ 484ms
Firefox CSV Importer 2✔️ 516ms
flagEnabled 10✔️ 211ms
Folder 3✔️ 479ms
Folder Service 11✔️ 988ms
FolderView 1✔️ 164ms
forbiddenCharacters 4✔️ 764ms
FormSelectionList 15✔️ 2s
freeOrgSeatLimitReachedValidator 5✔️ 1s
FSecure FSK Importer 2✔️ 355ms
functionToObservable 9✔️ 1s
GeneratePasswordToClipboardCommand 2✔️ 272ms
GeneratorComponent 2✔️ 3s
Icon 5✔️ 2s
IconComponent 2✔️ 962ms
Identity 6✔️ 597ms
IfFeatureDirective 6✔️ 1s
ImportService 3✔️ 1s
KeePass2 Xml Importer 5✔️ 802ms
Keeper CSV Importer 5✔️ 647ms
Keeper Json Importer 5✔️ 597ms
Lastpass CSV Importer 5✔️ 957ms
Login DTO 7✔️ 361ms
LogInStrategy 10✔️ 2s
LogInStrategy 21✔️ 2s
LogInStrategy 16✔️ 731ms
LogInStrategy 15✔️ 866ms
LogInStrategy 12✔️ 881ms
LoginUri 6✔️ 417ms
LoginUriView 28✔️ 868ms
LoginView 1✔️ 489ms
Menu 4✔️ 1s
Myki CSV Importer 6✔️ 6s
NodeCrypto Function Service 61✔️ 3s
NordPass CSV Importer 10✔️ 1s
Org Domain API Service 7✔️ 1s
Org Domain Service 7✔️ 381ms
Organization Permissions Guard 7✔️ 1s
Organization Service 11✔️ 1s
Passky Json Importer 2✔️ 588ms
Password 6✔️ 361ms
PasswordHistoryView 1✔️ 214ms
PasswordInputToggle 9✔️ 3s
PasswordRepromptService 2✔️ 1s
PasswordResetEnrollmentServiceImplementation 5✔️ 464ms
PolicyService 25✔️ 2s
Provider Permissions Guard 6✔️ 2s
PSONO JSON Importer 10✔️ 1✖️ 2s
RadioButton 3✔️ 1s
RadioGroupComponent 3✔️ 1s
Roboform CSV Importer 3✔️ 562ms
Safari CSV Importer 2✔️ 547ms
SecureNote 5✔️ 351ms
Send 3✔️ 523ms
SendAccess 3✔️ 620ms
SendFile 3✔️ 383ms
SendService 11✔️ 1s
SendText 3✔️ 1s
sequentialize decorator 9✔️ 1s
ServerConfigData 3✔️ 120ms
serviceUtils 4✔️ 341ms
session syncer 15✔️ 2s
sessionSync decorator 2✔️ 313ms
SettingsService 4✔️ 462ms
SsoComponent 25✔️ 10s
state 3✔️ 427ms
State Migration Service 8✔️ 2s
SymmetricCryptoKey 7✔️ 376ms
throttle decorator 5✔️ 408ms
toEqualBuffer custom matcher 4✔️ 177ms
TrialInitiationComponent 15✔️ 30s
trimValidator 7✔️ 790ms
TwoFactorComponent 16✔️ 3s
Utils Service 44✔️ 1s
vault filter service 13✔️ 5s
VaultExportService 14✔️ 4s
VaultFilter 19✔️ 3s
VaultFilter 18✔️ 2s
VaultTimeoutSettingsService 17✔️ 712ms
Web Platform Utils Service 14✔️ 891ms
WebCrypto Function Service 17✔️ 45❌ 3s

❌ WebCrypto Function Service

WebCrypto Function Service pbkdf2 should create valid sha256 key from regular input
  ❌ WebCrypto Function Service pbkdf2 should create valid sha256 key from regular input
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service pbkdf2 should create valid sha256 key from utf8 input
  ❌ WebCrypto Function Service pbkdf2 should create valid sha256 key from utf8 input
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service pbkdf2 should create valid sha256 key from unicode input
  ❌ WebCrypto Function Service pbkdf2 should create valid sha256 key from unicode input
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service pbkdf2 should create valid sha256 key from array buffer input
  ❌ WebCrypto Function Service pbkdf2 should create valid sha256 key from array buffer input
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service pbkdf2 should create valid sha512 key from regular input
  ❌ WebCrypto Function Service pbkdf2 should create valid sha512 key from regular input
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service pbkdf2 should create valid sha512 key from utf8 input
  ❌ WebCrypto Function Service pbkdf2 should create valid sha512 key from utf8 input
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service pbkdf2 should create valid sha512 key from unicode input
  ❌ WebCrypto Function Service pbkdf2 should create valid sha512 key from unicode input
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service pbkdf2 should create valid sha512 key from array buffer input
  ❌ WebCrypto Function Service pbkdf2 should create valid sha512 key from array buffer input
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdf should create valid sha256 key from regular input
  ❌ WebCrypto Function Service hkdf should create valid sha256 key from regular input
	TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdf should create valid sha256 key from utf8 input
  ❌ WebCrypto Function Service hkdf should create valid sha256 key from utf8 input
	TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdf should create valid sha256 key from unicode input
  ❌ WebCrypto Function Service hkdf should create valid sha256 key from unicode input
	TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdf should create valid sha256 key from array buffer input
  ❌ WebCrypto Function Service hkdf should create valid sha256 key from array buffer input
	TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdf should create valid sha512 key from regular input
  ❌ WebCrypto Function Service hkdf should create valid sha512 key from regular input
	TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdf should create valid sha512 key from utf8 input
  ❌ WebCrypto Function Service hkdf should create valid sha512 key from utf8 input
	TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdf should create valid sha512 key from unicode input
  ❌ WebCrypto Function Service hkdf should create valid sha512 key from unicode input
	TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdf should create valid sha512 key from array buffer input
  ❌ WebCrypto Function Service hkdf should create valid sha512 key from array buffer input
	TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdfExpand should create valid sha256 32 byte okm
  ❌ WebCrypto Function Service hkdfExpand should create valid sha256 32 byte okm
	TypeError: Failed to execute 'sign' on 'SubtleCrypto': 3rd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdfExpand should create valid sha256 64 byte okm
  ❌ WebCrypto Function Service hkdfExpand should create valid sha256 64 byte okm
	TypeError: Failed to execute 'sign' on 'SubtleCrypto': 3rd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdfExpand should create valid sha512 32 byte okm
  ❌ WebCrypto Function Service hkdfExpand should create valid sha512 32 byte okm
	TypeError: Failed to execute 'sign' on 'SubtleCrypto': 3rd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdfExpand should create valid sha512 64 byte okm
  ❌ WebCrypto Function Service hkdfExpand should create valid sha512 64 byte okm
	TypeError: Failed to execute 'sign' on 'SubtleCrypto': 3rd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hkdfExpand should fail with prk too small
  ✔️ WebCrypto Function Service hkdfExpand should fail with prk too small
WebCrypto Function Service hkdfExpand should fail with outputByteSize is too large
  ✔️ WebCrypto Function Service hkdfExpand should fail with outputByteSize is too large
WebCrypto Function Service hash should create valid sha1 hash from regular input
  ❌ WebCrypto Function Service hash should create valid sha1 hash from regular input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha1 hash from utf8 input
  ❌ WebCrypto Function Service hash should create valid sha1 hash from utf8 input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha1 hash from unicode input
  ❌ WebCrypto Function Service hash should create valid sha1 hash from unicode input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha1 hash from array buffer input
  ❌ WebCrypto Function Service hash should create valid sha1 hash from array buffer input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha256 hash from regular input
  ❌ WebCrypto Function Service hash should create valid sha256 hash from regular input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha256 hash from utf8 input
  ❌ WebCrypto Function Service hash should create valid sha256 hash from utf8 input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha256 hash from unicode input
  ❌ WebCrypto Function Service hash should create valid sha256 hash from unicode input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha256 hash from array buffer input
  ❌ WebCrypto Function Service hash should create valid sha256 hash from array buffer input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha512 hash from regular input
  ❌ WebCrypto Function Service hash should create valid sha512 hash from regular input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha512 hash from utf8 input
  ❌ WebCrypto Function Service hash should create valid sha512 hash from utf8 input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha512 hash from unicode input
  ❌ WebCrypto Function Service hash should create valid sha512 hash from unicode input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid sha512 hash from array buffer input
  ❌ WebCrypto Function Service hash should create valid sha512 hash from array buffer input
	TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hash should create valid md5 hash from regular input
  ✔️ WebCrypto Function Service hash should create valid md5 hash from regular input
WebCrypto Function Service hash should create valid md5 hash from utf8 input
  ✔️ WebCrypto Function Service hash should create valid md5 hash from utf8 input
WebCrypto Function Service hash should create valid md5 hash from unicode input
  ✔️ WebCrypto Function Service hash should create valid md5 hash from unicode input
WebCrypto Function Service hash should create valid md5 hash from array buffer input
  ✔️ WebCrypto Function Service hash should create valid md5 hash from array buffer input
WebCrypto Function Service hmac should create valid sha1 hmac
  ❌ WebCrypto Function Service hmac should create valid sha1 hmac
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hmac should create valid sha256 hmac
  ❌ WebCrypto Function Service hmac should create valid sha256 hmac
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hmac should create valid sha512 hmac
  ❌ WebCrypto Function Service hmac should create valid sha512 hmac
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service compare should successfully compare two of the same values
  ❌ WebCrypto Function Service compare should successfully compare two of the same values
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service compare should successfully compare two different values of the same length
  ❌ WebCrypto Function Service compare should successfully compare two different values of the same length
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service compare should successfully compare two different values of different lengths
  ❌ WebCrypto Function Service compare should successfully compare two different values of different lengths
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service hmacFast should create valid sha1 hmac
  ✔️ WebCrypto Function Service hmacFast should create valid sha1 hmac
WebCrypto Function Service hmacFast should create valid sha256 hmac
  ✔️ WebCrypto Function Service hmacFast should create valid sha256 hmac
WebCrypto Function Service hmacFast should create valid sha512 hmac
  ✔️ WebCrypto Function Service hmacFast should create valid sha512 hmac
WebCrypto Function Service compareFast should successfully compare two of the same values
  ✔️ WebCrypto Function Service compareFast should successfully compare two of the same values
WebCrypto Function Service compareFast should successfully compare two different values of the same length
  ✔️ WebCrypto Function Service compareFast should successfully compare two different values of the same length
WebCrypto Function Service compareFast should successfully compare two different values of different lengths
  ✔️ WebCrypto Function Service compareFast should successfully compare two different values of different lengths
WebCrypto Function Service aesEncrypt should successfully encrypt data
  ❌ WebCrypto Function Service aesEncrypt should successfully encrypt data
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service aesEncrypt should successfully encrypt and then decrypt data fast
  ❌ WebCrypto Function Service aesEncrypt should successfully encrypt and then decrypt data fast
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service aesEncrypt should successfully encrypt and then decrypt data
  ❌ WebCrypto Function Service aesEncrypt should successfully encrypt and then decrypt data
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service aesDecryptFast should successfully decrypt data
  ✔️ WebCrypto Function Service aesDecryptFast should successfully decrypt data
WebCrypto Function Service aesDecrypt should successfully decrypt data
  ❌ WebCrypto Function Service aesDecrypt should successfully decrypt data
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service rsaEncrypt should successfully encrypt and then decrypt data
  ❌ WebCrypto Function Service rsaEncrypt should successfully encrypt and then decrypt data
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service rsaDecrypt should successfully decrypt data
  ❌ WebCrypto Function Service rsaDecrypt should successfully decrypt data
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service rsaExtractPublicKey should successfully extract key
  ❌ WebCrypto Function Service rsaExtractPublicKey should successfully extract key
	TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
WebCrypto Function Service rsaGenerateKeyPair should successfully generate a 1024 bit key pair
  ✔️ WebCrypto Function Service rsaGenerateKeyPair should successfully generate a 1024 bit key pair
WebCrypto Function Service rsaGenerateKeyPair should successfully generate a 2048 bit key pair
  ✔️ WebCrypto Function Service rsaGenerateKeyPair should successfully generate a 2048 bit key pair
WebCrypto Function Service randomBytes should make a value of the correct length
  ✔️ WebCrypto Function Service randomBytes should make a value of the correct length
WebCrypto Function Service randomBytes should not make the same value twice
  ✔️ WebCrypto Function Service randomBytes should not make the same value twice

Annotations

Check failure on line 39 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service pbkdf2 should create valid sha256 key from regular input ► WebCrypto Function Service pbkdf2 should create valid sha256 key from regular input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at Object.converters.BufferSource (node:internal/crypto/webidl:218:11)
    at SubtleCrypto.importKey (node:internal/crypto/webcrypto:585:36)
    at WebCryptoFunctionService.importKey (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:39:38)
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4538:40
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4487:10)
    at WebCryptoFunctionService.pbkdf2 (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4590:12)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:374:45
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:8:71
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:4:12)
    at Object.<anonymous> (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:372:81)
    at Promise.then.completed (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/clients/clients/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 39 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service pbkdf2 should create valid sha256 key from utf8 input ► WebCrypto Function Service pbkdf2 should create valid sha256 key from utf8 input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at Object.converters.BufferSource (node:internal/crypto/webidl:218:11)
    at SubtleCrypto.importKey (node:internal/crypto/webcrypto:585:36)
    at WebCryptoFunctionService.importKey (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:39:38)
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4538:40
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4487:10)
    at WebCryptoFunctionService.pbkdf2 (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4590:12)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:380:45
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:8:71
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:4:12)
    at Object.<anonymous> (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:378:78)
    at Promise.then.completed (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/clients/clients/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 39 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service pbkdf2 should create valid sha256 key from unicode input ► WebCrypto Function Service pbkdf2 should create valid sha256 key from unicode input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at Object.converters.BufferSource (node:internal/crypto/webidl:218:11)
    at SubtleCrypto.importKey (node:internal/crypto/webcrypto:585:36)
    at WebCryptoFunctionService.importKey (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:39:38)
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4538:40
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4487:10)
    at WebCryptoFunctionService.pbkdf2 (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4590:12)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:386:45
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:8:71
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:4:12)
    at Object.<anonymous> (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:384:81)
    at Promise.then.completed (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/clients/clients/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 39 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service pbkdf2 should create valid sha256 key from array buffer input ► WebCrypto Function Service pbkdf2 should create valid sha256 key from array buffer input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at Object.converters.BufferSource (node:internal/crypto/webidl:218:11)
    at SubtleCrypto.importKey (node:internal/crypto/webcrypto:585:36)
    at WebCryptoFunctionService.importKey (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:39:38)
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4538:40
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4487:10)
    at WebCryptoFunctionService.pbkdf2 (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4590:12)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:392:45
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:8:71
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:4:12)
    at Object.<anonymous> (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:390:86)
    at Promise.then.completed (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/clients/clients/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 39 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service pbkdf2 should create valid sha512 key from regular input ► WebCrypto Function Service pbkdf2 should create valid sha512 key from regular input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at Object.converters.BufferSource (node:internal/crypto/webidl:218:11)
    at SubtleCrypto.importKey (node:internal/crypto/webcrypto:585:36)
    at WebCryptoFunctionService.importKey (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:39:38)
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4538:40
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4487:10)
    at WebCryptoFunctionService.pbkdf2 (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4590:12)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:374:45
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:8:71
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:4:12)
    at Object.<anonymous> (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:372:81)
    at Promise.then.completed (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/clients/clients/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 39 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service pbkdf2 should create valid sha512 key from utf8 input ► WebCrypto Function Service pbkdf2 should create valid sha512 key from utf8 input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at Object.converters.BufferSource (node:internal/crypto/webidl:218:11)
    at SubtleCrypto.importKey (node:internal/crypto/webcrypto:585:36)
    at WebCryptoFunctionService.importKey (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:39:38)
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4538:40
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4487:10)
    at WebCryptoFunctionService.pbkdf2 (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4590:12)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:380:45
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:8:71
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:4:12)
    at Object.<anonymous> (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:378:78)
    at Promise.then.completed (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/clients/clients/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 39 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service pbkdf2 should create valid sha512 key from unicode input ► WebCrypto Function Service pbkdf2 should create valid sha512 key from unicode input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at Object.converters.BufferSource (node:internal/crypto/webidl:218:11)
    at SubtleCrypto.importKey (node:internal/crypto/webcrypto:585:36)
    at WebCryptoFunctionService.importKey (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:39:38)
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4538:40
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4487:10)
    at WebCryptoFunctionService.pbkdf2 (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4590:12)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:386:45
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:8:71
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:4:12)
    at Object.<anonymous> (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:384:81)
    at Promise.then.completed (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/clients/clients/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 39 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service pbkdf2 should create valid sha512 key from array buffer input ► WebCrypto Function Service pbkdf2 should create valid sha512 key from array buffer input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at Object.converters.BufferSource (node:internal/crypto/webidl:218:11)
    at SubtleCrypto.importKey (node:internal/crypto/webcrypto:585:36)
    at WebCryptoFunctionService.importKey (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:39:38)
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4538:40
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4487:10)
    at WebCryptoFunctionService.pbkdf2 (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4590:12)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:392:45
    at Generator.next (<anonymous>)
    at /home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:8:71
    at new Promise (<anonymous>)
    at Object.<anonymous>.__awaiter (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:4:12)
    at Object.<anonymous> (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.spec.ts:390:86)
    at Promise.then.completed (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:293:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/clients/clients/node_modules/jest-circus/build/utils.js:226:10)
    at _callCircusTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:297:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:233:3)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:135:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at _runTestsForDescribeBlock (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:130:9)
    at run (/home/runner/work/clients/clients/node_modules/jest-circus/build/run.js:68:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/clients/clients/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/clients/clients/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/clients/clients/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 96 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service hkdf should create valid sha256 key from regular input ► WebCrypto Function Service hkdf should create valid sha256 key from regular input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at converters.BufferSource (node:internal/crypto/webidl:218:11)
    at Object.HkdfParams (node:internal/crypto/webidl:291:32)
    at normalizeAlgorithm (node:internal/crypto/util:328:61)
    at SubtleCrypto.deriveBits (node:internal/crypto/webcrypto:197:15)
    at WebCryptoFunctionService.deriveBits (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:96:30)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4501:24)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 96 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service hkdf should create valid sha256 key from utf8 input ► WebCrypto Function Service hkdf should create valid sha256 key from utf8 input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at converters.BufferSource (node:internal/crypto/webidl:218:11)
    at Object.HkdfParams (node:internal/crypto/webidl:291:32)
    at normalizeAlgorithm (node:internal/crypto/util:328:61)
    at SubtleCrypto.deriveBits (node:internal/crypto/webcrypto:197:15)
    at WebCryptoFunctionService.deriveBits (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:96:30)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4501:24)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 96 in libs/common/src/platform/services/web-crypto-function.service.ts

See this annotation in the file changed.

@github-actions github-actions / Test Results

WebCrypto Function Service ► WebCrypto Function Service hkdf should create valid sha256 key from unicode input ► WebCrypto Function Service hkdf should create valid sha256 key from unicode input

Failed test found in:
  junit.xml
Error:
  TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
Raw output
TypeError: Failed to normalize algorithm: 'info' of 'HkdfParams' (passed algorithm) is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
    at codedTypeError (node:internal/crypto/webidl:45:15)
    at makeException (node:internal/crypto/webidl:54:10)
    at converters.BufferSource (node:internal/crypto/webidl:218:11)
    at Object.HkdfParams (node:internal/crypto/webidl:291:32)
    at normalizeAlgorithm (node:internal/crypto/util:328:61)
    at SubtleCrypto.deriveBits (node:internal/crypto/webcrypto:197:15)
    at WebCryptoFunctionService.deriveBits (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:96:30)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/clients/clients/libs/common/src/platform/services/web-crypto-function.service.ts:4501:24)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)