8000 more changes to private posts by LeNooby09 · Pull Request #156 · akari-blue/akari · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

more changes to private posts #156

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

Conversation

LeNooby09
Copy link

name: Pull Request
about: private posts

Summary of Changes

This pull request includes several changes to enhance the handling of encrypted posts, update the post schema, and improve the clipboard functionality. The most important changes include adding support for encryption keys with lengths, updating the post schema to include optional fields for encryption and access control, and modifying the clipboard functionality to handle encrypted text.

Improvements to clipboard functionality:

Enhancements to encryption handling:

  • src/components/post-card.tsx: Updated the createEncryptedPost function to include the encryption key length and changed the encryption type field to algorithm.
  • src/components/post-card.tsx: Modified the decryptPrivatePost function to handle the decryption process with the new encryption key structure, including the key length and algorithm.

Updates to post schema:

  • src/lib/bluesky/types/bsky-post.ts: Added optional fields for akariPublicKey, encryptedText, and encryption details, including the encryption key and its length. Also updated the text field to allow a literal value indicating a private post.
  • src/lib/bluesky/types/bsky-post.ts: Enhanced the access control list (ACL) structure to include optional group permissions and detailed interaction permissions.

License Agreement

  • I understand that my contribution will be released under the CC0 1.0 Universal license and placed in the public domain.

Signed-off-by: LeNooby09 <lenooby09@proton.me>
Signed-off-by: LeNooby09 <lenooby09@proton.me>
@LeNooby09
Copy link
Author

pull request closed due to poor quality code

@LeNooby09 LeNooby09 closed this Feb 16, 2025
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.

1 participant
0