[erlang-bugs] ssh dependency on asn1

Anders Nygren <>
Thu Apr 19 07:46:21 CEST 2007


On 4/18/07, Gunilla Arendt <> wrote:
> Hi,
>
> Some aspects of the application concept are a bit fuzzy, and this is
> one of them. The 'applications' field in the .app file is used to
> specify which applications should be started before this application is.
>

The documentation is a bit unclear, both "Design Principles" and
app(4) says about the 'applications' field that it is all applications that
shall be started, but then they add the comment that
"...all applications have dependencies to at least kernel and stdlib."
Which can give the impression that You actually have to include the
library applications as well.

> asn1, however, is a library application in the sense that it has no
> supervision tree and thus does not need to be started before it can
> be used. What ssh needs is the code for asn1 being available, not that
> it is started, but there is (currently) no way of expressing that in
> the .app file.
>

Unfortunately ssh converts any errors from 'DSS':decode/2 to {error, bad_format}

The "guilty" party is ssh_file:decode_private_key_v2(Private, "ssh-dss")

/Anders


> Regards,
> Gunilla, Erlang/OTP team
>
>
> Anders Nygren wrote:
> > Hi
> > I have found that in R11B-4 ssh has a dependency on asn1, but asn1 is not
> > included in the ssh.app file.
> >
> > /Anders
>
> _______________________________________________
> erlang-bugs mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-bugs
>



More information about the erlang-bugs mailing list