Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update cipher keys documentation#97

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
DebashisBorgohainO2 merged 5 commits intomainfromcipherkeys-doc
Jul 21, 2025
Merged

Conversation

DebashisBorgohainO2
Copy link
Contributor

No description provided.

Copy link

@YashodhanJoshi1YashodhanJoshi1 left a comment

Choose a reason for hiding this comment

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

  1. We need to specify thatdecrypt function does a brute force decryption, i.e. it will try to decrypt anything that looks-like base64 in given input and if successful give decrypted value, or copy as-is to the result.
  2. We also need to add a warning todecrypt that because of above behavior it can be slower on larger input fields. It can be around ~10% slower on < 500 character inputs, but as the input size grows, it can reach 50%-100% slowness on fields larger than 10000 characters
  3. We need to also show array examples in decrypt path, and maybe give few example without screenshots of how various paths (with and without array) correspond to object keys,

```
Here:

- `encrypted_fiel`d: The field containing the encrypted value.

Choose a reason for hiding this comment

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

typo: backtick should be after d

SELECT decrypt(user_data, 'user_data_decryption_key') as decrypted_user_data FROM user_activity_stream;
Here:

- `encrypted_fiel`d: The field containing the encrypted value.

Choose a reason for hiding this comment

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

same typo

- **Incorrect Encryption Key Type (Simple or Tink):** When storing encryption keys, ensure you use the correct key type (Simple or Tink). If an incompatible key type is used, the system will show an error, and the key remains unsaved.
- **Invalid Akeyless Credentials:** If you enter invalid Akeyless credentials during CipherKey creation or update, the system will reject the operation and show an error message. Correct the credentials and try again.
- **Invalid Akeyless Credentials:** If you enter invalid Akeyless credentials during**CipherKe**y creation or update, the system will reject the operation and show an error message. Correct the credentials and try again.

Choose a reason for hiding this comment

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

typo in** afterKe

@@ -53,17 +53,21 @@ Follow these steps to create and configure **Cipher Keys** in OpenObserve:
You can retrieve original values from encrypted logs using the `decrypt()` and `decrypt_path()` functions. These functions operate at query time and do not write decrypted data to disk.

### Use the `decrypt` function
Use the `decrypt()` function when the encrypted field contains a non-nested value value.
Use the `decrypt()` function when the encrypted field contains a non-nested value.

Choose a reason for hiding this comment

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

This is incorrect. In fact decrypt can be used for nested values, and the intention is to decrypt everything when the exact structure or path is not know. I think we should remove this line.

Use the `decrypt()` function when the encrypted field contains a non-nested value value.
Use the `decrypt()` function when the encrypted field contains a non-nested value.

The `decrypt()` function performs brute-force decryption. It attempts to decrypt any value in the input that appears to be base64-encoded. If the decryption is successful, the value is replaced with the decrypted output. If not, the value is returned unchanged.

Choose a reason for hiding this comment

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

change :It attempts to decrypt any sub-string in the input ...is successful, the sub-string is replaced...If not, the sub-string is retained unchanged.

@DebashisBorgohainO2DebashisBorgohainO2 deleted the cipherkeys-doc branchJuly 21, 2025 04:55
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@YashodhanJoshi1YashodhanJoshi1YashodhanJoshi1 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@DebashisBorgohainO2@YashodhanJoshi1

[8]ページ先頭

©2009-2025 Movatter.jp