Giter Club home page Giter Club logo

Comments (4)

mdecimus avatar mdecimus commented on May 11, 2024 1

Currently the configuration file expects the keys in plain base64 format without the -----BEGIN PRIVATE KEY----- header. This will be fixed in the next release but in the meantime it should work if you remove the lines beginning with ----- from the key.

from mail-server.

mdecimus avatar mdecimus commented on May 11, 2024

This issue has now been fixed in version 0.3.2.

from mail-server.

jotonedev avatar jotonedev commented on May 11, 2024

Now it throws a new error
Invalid configuration file: Failed to build ED25519 key for signature "ed25519": Cryptography layer error: InvalidEncoding

from mail-server.

mdecimus avatar mdecimus commented on May 11, 2024

The problem is that openssl genpkey -algorithm ED25519 generates PKCS# v1 keys and the crypto library expects v2 keys. I've just added a fallback option to use version 1 keys when the keys are not version 2.

This fix will be included on next week's release but in the meantime you can try converting your keys to PKCS8v2 or recompiling the latest version from the repository.

from mail-server.

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.