Coder Social home page Coder Social logo

Comments (4)

infertux avatar infertux commented on May 29, 2024 2

@ntimo So I'm afraid this is gonna take longer than expected because I think I will rewrite Zeyple from scratch in another language (probably Go, I started in the go branch).

As a short backstory, the reason I picked Python when I created Zeyple was that "Python is already installed on most servers so Zeyple won't require people to install a bunch of new dependencies." Turns out Zeyple may not require many dependencies but unfortunately the ones it requires are poorly maintained/packaged.

I could switch to the new python-pgp one but it's not packaged for CentOS and I want to keep compatibility with CentOS since I use it for some of my machines.

Moreover, the whole Python 2 to Python 3 transition is taking so damn long and it has been such a pain to maintain backward compatibility. I probably spent more time dealing with Python 2/3 quirks than adding actual features. I used to like Python back in 2012 but not anymore...</rant>

So now I'm considering rewriting it in another language. I think there are two good candidates: C & Golang. I thought about Rust too but it doesn't have a good GPG library.

Go has a very nice standalone GPG library and Zeyple would actually have no dependencies as I could simply distribute a binary file and be done with it. Lastly, I think it'd be a good opportunity to learn the language for me.

I realize this is not ideal for you but in the meantime, I could suggest to use the Debian package of python-gpgme or maybe install it by hand. If someone wants to update zeyple.py to use the new python-gpg, I'd be happy to merge it while I'm working on the next version...

from zeyple.

dominic-p avatar dominic-p commented on May 29, 2024 1

I just ran into this after upgrading a server to Ubuntu 18. In case anyone else runs into this, I worked around it by installing a 16.04 .deb from here.

Definitely not the cleanest solution, but it seems to be working for now. Excited about the rewrite in Go. That should make the install a lot simpler.

from zeyple.

infertux avatar infertux commented on May 29, 2024

Thank you very much.

It looks like it's getting removed from Debian as well (https://tracker.debian.org/pkg/pygpgme) and
https://packages.debian.org/stretch/python3-gpg could be a good replacement but it's not available on CentOS.

I'll investigate...

from zeyple.

ntimo avatar ntimo commented on May 29, 2024

Do you have any news on this? I would really like to use Zeyple for my Mailserver.

from zeyple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.