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

symmetrically encrypted RSS platform #104

Open
hupili opened this issue Sep 19, 2013 · 0 comments
Open

symmetrically encrypted RSS platform #104

hupili opened this issue Sep 19, 2013 · 0 comments

Comments

@hupili
Copy link
Owner

hupili commented Sep 19, 2013

A RSS2RWEnc class derived from RSS2RW.

  • add func: RSS2RW._update_to_string.
  • Reroute RSS2RW._update to RSS2RW._update_to_string
  • RSS2RWEnc.update use RSS2RW._update_to_string and encrypt before output to files.
    • Intercept RSS.home_timeline. feedparser._open_resource is a good way to get all kinds of resources, e.g. URL, local file, etc. Decrypt before passing the stream to feedparser.

The snscrypt.py was there for one year but not used. Let's revive it. Some upgrades before using it:

  • Use the utils.obj2str and utils.str2obj for serialization. Current base64 can not handle unicode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant