Giter Site home page Giter Site logo

Comments (13)

open-gdsn avatar open-gdsn commented on July 29, 2024 1

Sorry, I now see I used my 'wrong' GitHub account, my name is Ronald van Kuijk, usually using '@kukel' (nickname) as Gitbub account. I'll keep monitoring things ;-)

from as2-lib.

phax avatar phax commented on July 29, 2024

Indeed it is. But it must be part of the partnership.
It is applied here: https://github.com/phax/as2-lib/blob/master/as2-lib/src/main/java/com/helger/as2lib/processor/sender/AS2SenderModule.java#L446

hth, Philip

from as2-lib.

zharpaz-bmc-com avatar zharpaz-bmc-com commented on July 29, 2024

I see. What about the option of working synchronously, but not asking for MDN?

Thanks,
Ziv

from as2-lib.

phax avatar phax commented on July 29, 2024

If you mean you don't want an MDN - just do not send the header. As you can see in the code - if the partnership does not have the property, that header is not send, and no MDN is requested.
If you want an async MDN, add more headers.

from as2-lib.

zharpaz-bmc-com avatar zharpaz-bmc-com commented on July 29, 2024

Hi,
when a message does not contain "Disposition-notification-to", and does contain the header "Disposition-Notification-Options", the server does return an MDN. (com.helger.as2lib.message.AS2Message#isRequestingMDN, line 106).
Does it conform to the standard?
(if I do not send it, I get the error 'The value of 'DigestAlgorithm' may not be null').

Thanks for your help,
Ziv

from as2-lib.

phax avatar phax commented on July 29, 2024

Well according to chapter 2 of https://www.ietf.org/rfc/rfc3798.txt:

Message disposition notifications are requested by including a
Disposition-Notification-To header in the message. Further
information to be used by the recipient's MUA in generating the MDN
may be provided by also including Original-Recipient and/or
Disposition-Notification-Options headers in the message.
-> that would indicate that my implementation is incorrect.

I also didn't find any reference in RFC 4130. Any objections on deleting these checks?

from as2-lib.

zharpaz-bmc-com avatar zharpaz-bmc-com commented on July 29, 2024

from as2-lib.

phax avatar phax commented on July 29, 2024

It is already deleted in master branch. Please check the Snapshot version and tell me if it works.
I'm on vacation for one week so I will not respond.

from as2-lib.

open-gdsn avatar open-gdsn commented on July 29, 2024

We are currently looking into use AS2-Lib as a replacement of our (previously certified) AS2 software. What should be kept in mind regarding interoperability is that in some case, the implementations of the certified software deviates from the specs if all certifying parties agreed on that in the certification process. Iirc (did not work here when the software was certified), these Drummond certification tests and reports can be found on the internet.

from as2-lib.

phax avatar phax commented on July 29, 2024

@open-gdsn I'm aware of this, that's why I changed this. I just forked the project, because I needed an AS2 solution and OpenAS2 development was stalled. I updated the software so that it works for me (in the PEPPOL context) and for the rest I'm relying on community input.
So everytime you find an incompatibility just let me know. As an individual not having the resources to perform Drummond testing :(
Btw. I did not release a new version, because @zharpaz is building a PR with large file support which I want to investigate before releasing.

from as2-lib.

phax avatar phax commented on July 29, 2024

I think it has been tested thoroughly and will be included in the 4.1.1 release

from as2-lib.

kukel avatar kukel commented on July 29, 2024

The value of the AS2MDNTo should (according to the specs) be in RFC2822 format and hence not being the AS2ID!. Although the spec also states that receiving systems should be very lenient, it is better to try to adhere to the specs.

7.3. Requesting a Signed Receipt

Message disposition notifications are requested as per RFC 3798. A
request that the receiving user agent issue a message disposition
notification is made by placing the following header into the message
to be sent:

    MDN-request-header = "Disposition-notification-to"
                        ":"  mail-address

The following example is for requesting an MDN:

    Disposition-notification-to: [email protected]

This syntax is a residue of the use of MDNs using SMTP transfer.
Because this specification is adjusting the functionality from SMTP
to HTTP while retaining as much as possible from the [4]
functionality, the mail-address MUST be present. The mail-address
field is specified as an RFC 2822 localpart@domain [addr-spec]
address. However, the address is not used to identify where to
return the MDN. Receiving applications MUST ignore the value and
MUST not complain about RFC 2822 address syntax violations.

from as2-lib.

phax avatar phax commented on July 29, 2024

Next try :)

from as2-lib.

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.