haraka | golang implementation of the Haraka v2 family

 by   bmkessler Go Version: Current License: MIT

kandi X-RAY | haraka Summary

kandi X-RAY | haraka Summary

haraka is a Go library. haraka has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

A golang implementation of the Haraka v2 family of hash functions presented in:. Haraka v2 – Efficient Short-Input Hashing for Post-Quantum Applications. by Stefan Kolbl, Martin M. Lauridsen, Florian Mendel, and Christian Rechberger. These functions are designed to be fast for fixed-length (512/256-bit) inputs on processors with AES instructions. A primary use case is for hash-based signatures in post-quantum cryptography. Note, that if your processor does not have AES instructions then the performance will be ~10x slower due to software emulation of the AES round function. Currently, AES instruction optimization is only implemented for amd64 processors. AES-NI and software AES (Ref) benchmarks name time/op Haraka256-4 30.8ns ± 0% Haraka512-4 81.1ns ± 1% Haraka256Ref-4 469ns ± 0% Haraka512Ref-4 953ns ± 2%.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              haraka has a low active ecosystem.
              It has 13 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              haraka has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of haraka is current.

            kandi-Quality Quality

              haraka has 0 bugs and 0 code smells.

            kandi-Security Security

              haraka has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              haraka code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              haraka is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              haraka releases are not available. You will need to build from source code and install.
              It has 546 lines of code, 21 functions and 7 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed haraka and discovered the below as its top functions. This is intended to give you an instant insight into haraka implemented functionality, and help decide if they suit your requirements.
            • haraka512Ref reads from src into dst
            • haraka256Ref performs AES - 256 - 256 checksum
            • main .
            • aesRound rounds a key
            • xtime returns the time of x .
            • Haraka256 sha256
            • Haraka512 - sha512
            • mix512 mixes a 16 byte sequence into a 16 byte slice
            • mix256 mixes a set of 8 bits
            • swapEndian swaps two uint32 values .
            Get all kandi verified functions for this library.

            haraka Key Features

            No Key Features are available at this moment for haraka.

            haraka Examples and Code Snippets

            No Code Snippets are available at this moment for haraka.

            Community Discussions

            QUESTION

            Is it possible to get a port from MX lookup?
            Asked 2019-May-06 at 04:06

            I am on a journey of understanding what is the proper way to send an email from Python code. I have somewhat progressed in understanding of MX lookup, though: "the larger the island of knowledge, the longer the shoreline of wonder".

            Thanks to this answer, I was able to send an email (to a disposable mailbox though), with this code-snippet:

            ...

            ANSWER

            Answered 2019-May-06 at 03:34

            How do I figure out the proper ports for the server accepting mails on behalf of a particular domain (one that is returned by MX lookup)?

            What you've shown in your question is more or less correct. You may want to try the ports in a different order. Also, port 2525 is not an official port from any standard I'm aware of but seems to be a convention for bypassing firewalls that block the submission port 587.

            One thing to note is that "accepting mail" is not actually one thing. There are "mail user agents" that do "submission" and "mail transfer agents" that do "transfer". "Submission" and "transfer" often live on different ports which explains some of the diversity you've seen. Figure out whether you're doing submission or transfer and select the appropriate group of ports.

            My understanding here is that "default" ports are just conventions, and, in fact, servers can use any free port they choose.

            This isn't really true, at least not if the servers want anyone to be able to find them, because ...

            How do such "real-world" servers figure out the proper port (or they just brute-forcing through the default ones)?

            Mail servers that actually want to be able to receive mail must run on a standard port number. For MTAs this means port 25 with maybe a fallback to 465 (though this isn't standardized either). For MUAs this means port 587 with maybe a fallback to 2525 (also not standardized but apparently in common use as a workaround to MUAs being blocked).

            In particular, MX records carry no port information, nor does any other DNS record type related to SMTP.

            Source https://stackoverflow.com/questions/55899082

            QUESTION

            Haraka : exclude some receiver domains
            Asked 2019-Feb-27 at 16:38

            I'm configuring my first mail server in Haraka and i'm asking me if it's possible to exclude some receiver domains. I imagine something like that :

            In my file "excludedomain", i have a list of domains that i want to exclude : first.com;second.com

            If i send mail to first@first.com and third@third.com, only the "third" mail address receive it.

            I didn't found informations about that on the official website of Haraka. It's possible to implement this with Haraka mail server ?

            ...

            ANSWER

            Answered 2019-Feb-27 at 16:38

            You should have a look at Haraka access ACL.

            This plugin applies Access Control Lists during the connect, helo, mail, and rcpt phases of the SMTP conversation.

            Source https://stackoverflow.com/questions/54909256

            QUESTION

            save() is not a function haraka plugin + mongoose
            Asked 2017-Nov-28 at 19:07

            I'm trying to create a plugin for haraka mailserver to support saving emails to mongodb. The plugin is running fine however when I send a test email it's giving me this error:

            Plugin queue/mongo_email failed: TypeError: Email.save is not a function

            This is the plugin code:

            ...

            ANSWER

            Answered 2017-Nov-28 at 19:07

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install haraka

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/bmkessler/haraka.git

          • CLI

            gh repo clone bmkessler/haraka

          • sshUrl

            git@github.com:bmkessler/haraka.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link