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

Bug: Bug when reusing encrpytion keys #63

Open
humanagent opened this issue Mar 12, 2025 · 0 comments
Open

Bug: Bug when reusing encrpytion keys #63

humanagent opened this issue Mar 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@humanagent
Copy link
Collaborator

Describe the bug

2025-03-12 16:08:44.976: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:08:44.976: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:08:44.976: sqlcipher_codec_ctx_set_error: ctx=0x108b611c0, error=1
2025-03-12 16:08:44.976: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:08:44.976: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:08:44.976: sqlcipher_codec_ctx_set_error: ctx=0x108b611c0, error=1
2025-03-12 16:08:45.025: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:08:45.025: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:08:45.025: sqlcipher_codec_ctx_set_error: ctx=0x118da6a60, error=1
2025-03-12 16:08:45.026: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:08:45.026: sqlite3Codec: error decrypting page 1 data: 1

Error: Error creating encrypted message store
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

  Tests 0 passed | 1 skipped (3)

Start at 16:46:11
Duration 2.63s
2025-03-12 16:46:14.246: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:46:14.246: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:46:14.246: sqlcipher_codec_ctx_set_error: ctx=0x12aea6100, error=1
2025-03-12 16:46:14.247: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:46:14.247: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:46:14.247: sqlcipher_codec_ctx_set_error: ctx=0x12aea6100, error=1
2025-03-12 16:46:14.299: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:46:14.299: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:46:14.299: sqlcipher_codec_ctx_set_error: ctx=0x15afc9850, error=1
2025-03-12 16:46:14.299: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:46:14.299: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:46:14.299: sqlcipher_codec_ctx_set_error: ctx=0x15afc9850, error=1
2025-03-12 16:46:14.324: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:46:14.324: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:46:14.324: sqlcipher_codec_ctx_set_error: ctx=0x15afd4ac0, error=1
2025-03-12 16:46:14.324: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:46:14.324: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:46:14.324: sqlcipher_codec_ctx_set_error: ctx=0x15afd4ac0, error=1
2025-03-12 16:46:14.392: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:46:14.392: sqlite3Codec: error decrypting page 1 data: 1
2025-03-12 16:46:14.392: sqlcipher_codec_ctx_set_error: ctx=0x15afe8270, error=1
2025-03-12 16:46:14.393: sqlcipher_page_cipher: hmac check failed for pgno=1 returning SQLITE_ERROR
2025-03-12 16:46:14.393: sqlite3Codec: error decrypting page 1 data: 1

❯ tests/dms.test.ts 3/3

Test Files 0 passed (1)
Tests 0 passed | 3 skipped (3)
Start at 16:46:11
stdout | tests/dms.test.ts > ts_dms
[2025-03-12T19:46:14.579Z] [warn] [karen-a] Create XMTP client v:e8c52be 2.281s

❯ tests/dms.test.ts (3 tests | 3 skipped) 2608ms
↓ ts_dms > createDM: should measure creating a DM
↓ ts_dms > sendGM: should measure sending a gm
↓ ts_dms > receiveGM: should measure receiving a gm

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

FAIL tests/dms.test.ts > ts_dms
Error: Error creating encrypted message store


### Expected behavior

_No response_

### Steps to reproduce the bug

_No response_
@humanagent humanagent added the bug Something isn't working label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant