[Yxa-devel] Status
CGS
cgsmcmlxxv at gmail.com
Fri Aug 31 16:10:43 CEST 2012
OK! I managed to compile it with only one warning (error/2 is not used; I
set eldap:parse_error/2 which does the same). I started the tests, but I
got the following error:
ssl_util: failed (test "SSL certificates - 0", line 419) -
Error:
{'EXIT',
{{badmatch,
{'Certificate',
{'TBSCertificate',v3,1,
{'AlgorithmIdentifier',{1,2,840,113549,1,1,5},<<5,0>>},
{rdnSequence,
[[{'AttributeTypeAndValue',
{2,5,4,3},
<<19,11,89,120,97,32,116,101,115,116,32,67,65>>}]]},
{'Validity',
{utcTime,"050928074554Z"},
{utcTime,"060928074554Z"}},
{rdnSequence,
[[{'AttributeTypeAndValue',{2,5,4,6},<<19,2,83,69>>}],
[{'AttributeTypeAndValue',
{2,5,4,10},
<<19,22,83,116,111,99,107,104,111,108,109,115,32,
117,110,105,118,101,114,115,105,116,101,116>>}],
[{'AttributeTypeAndValue',
{2,5,4,3},
<<19,26,121,120,97,45,116,101,115,116,45,99,101,
114,116,49,46,101,120,97,109,112,108,101,46,
111,114,103>>}]]},
{'SubjectPublicKeyInfo',
{'AlgorithmIdentifier',{1,2,840,113549,1,1,1},<<5,0>>},
{0,
<<48,129,137,2,129,129,0,222,85,71,54,9,144,139,255,
251,249,67,39,37,170,201,90,2,11,146,126,240,112,98,
246,86,127,56,0,210,231,29,84,6,170,148,158,162,107,
9,10,172,26,148,115,82,95,136,131,28,17,246,57,156,
91,56,69,8,117,206,184,171,119,193,64,236,93,227,185,
38,73,239,235,190,95,91,113,28,127,146,172,48,204,
214,119,20,189,72,207,119,159,134,192,155,102,220,
235,116,243,254,88,155,40,116,28,193,36,9,76,179,242,
225,201,6,193,164,54,147,209,241,164,185,255,173,161,
117,199,234,125,2,3,1,0,1>>}},
asn1_NOVALUE,asn1_NOVALUE,
[{'Extension',{2,16,840,1,113730,1,1},false,[3,2,6,192]},
{'Extension',{2,5,29,15},false,[3,2,5,224]},
{'Extension',
{2,5,29,37},
false,
[48,20,6,8,43,6,1,5,5,7,3,2,6,8,43,6,1,5,5,7,3,1]},
{'Extension',
{2,16,840,1,113730,1,4},
false,
[22,32,104,116,116,112,58,47,47,99,97,46,101,120,97,109,
112,108,101,46,99,111,109,47,99,114,108,45,118,49,46,
99,114,108]},
{'Extension',
{2,5,29,14},
false,
[4,20,188,231,38,113,82,104,30,198,19,45,241,76,109,42,
182,71,48,125,123,211]},
{'Extension',
{2,5,29,35},
false,
[48,61,128,20,38,247,100,190,74,95,117,82,188,203,50,
137,9,149,69,2,244,164,88,42,161,26,164,24,48,22,49,20,
48,18,6,3,85,4,3,19,11,89,120,97,32,116,101,115,116,32,
67,65,130,9,0,215,233,65,74,51,94,124,232]},
{'Extension',
{1,3,6,1,5,5,7,1,1},
false,
[48,42,48,40,6,8,43,6,1,5,5,7,48,2,134,28,104,116,116,
112,58,47,47,99,97,46,101,120,97,109,112,108,101,46,99,
111,109,47,99,97,46,99,114,116]},
{'Extension',
{2,5,29,31},
false,
[48,40,48,38,160,36,160,34,134,32,104,116,116,112,58,47,
47,99,97,46,101,120,97,109,112,108,101,46,99,111,109,
47,99,114,108,45,118,50,46,99,114,108]},
{'Extension',
{2,5,29,32},
false,
[48,112,48,110,6,4,41,1,1,1,48,102,48,37,6,8,43,6,1,5,5,
7,2,1,22,25,104,116,116,112,58,47,47,99,97,46,101,120,
97,109,112,108,101,46,99,111,109,47,67,80,83,48,61,6,8,
43,6,1,5,5,7,2,2,48,49,26,47,76,105,109,105,116,101,
100,32,76,105,97,98,105,108,105,116,121,44,32,115,101,
101,32,104,116,116,112,58,47,47,99,97,46,101,120,97,
109,112,108,101,46,99,111,109,47,67,80]},
{'Extension',
{2,5,29,18},
false,
[48,39,129,14,99,97,64,101,120,97,109,112,108,101,46,99,
111,109,134,21,104,116,116,112,58,47,47,99,97,46,101,
120,97,109,112,108,101,46,99,111,109]},
{'Extension',
{2,5,29,17},
false,
[48,114,129,31,116,101,115,116,64,121,120,97,45,116,101,
115,116,45,99,101,114,116,49,46,101,120,97,109,112,108,
101,46,111,114,103,130,26,121,120,97,45,116,101,115,
116,45,99,101,114,116,49,46,101,120,97,109,112,108,101,
46,111,114,103,130,11,101,120,97,109,112,108,101,46,
111,114,103,130,15,115,105,112,46,101,120,97,109,112,
108,101,46,111,114,103,130,9,108,111,99,97,108,104,111,
115,116,135,4,192,0,2,78,135,4,127,0,0,1]}]},
{'AlgorithmIdentifier',{1,2,840,113549,1,1,5},<<5,0>>},
{0,
<<144,103,62,16,155,150,76,155,192,124,95,177,48,81,223,18,
241,73,68,30,183,225,22,14,172,193,251,254,99,104,222,249,
240,41,28,33,81,4,155,105,29,165,75,214,231,150,100,157,176,
135,199,38,70,213,107,101,39,244,183,149,103,223,131,137>>}}},
[{ssl_util,test,0,[{file,"ssl_util.erl"},{line,519}]},
{autotest,test_module2,2,[{file,"autotest.erl"},{line,300}]}]}}
Any idea? Do I need to set a certificate manually?
CGS
On Fri, Aug 31, 2012 at 3:38 PM, CGS <cgsmcmlxxv at gmail.com> wrote:
> For example,
> https://github.com/mikma/yxa/blob/otp-r14a/src/eldap/eldap.erl (line 66):
>
> open(Hosts, Opts) when list(Hosts), list(Opts) ->
>
> list/1 should be is_list/1.
>
> CGS
>
>
>
>
> On Fri, Aug 31, 2012 at 3:33 PM, Mikael Magnusson <mikma264 at gmail.com>wrote:
>
>> On 08/31/2012 03:31 PM, CGS wrote:
>>
>> Well, it may be my mistake here. I might have taken the master branch
>> accidentally. I retraced my steps and I recompiled. Now it compiles, but
>> there are some warnings about obsolete things like
>>
>> eldap.erl:66: Warning: list/1 obsolete
>>
>> which in code is used to guard the variable to be list and since R14B03
>> (I think) it became is_list. I will attempt to update all those things and
>> come back with info.
>>
>> Sorry for previous misleading.
>>
>> CGS
>>
>>
>> Have a look at yxa forkes/branches at github, above might already be
>> fixed.
>>
>>
>>
>>
>>
>>
>> On Fri, Aug 31, 2012 at 3:21 PM, Mikael Magnusson <mikma264 at gmail.com>wrote:
>>
>>> On 08/31/2012 03:15 PM, CGS wrote:
>>>
>>> I was taking a closer look at the code and I found this
>>> in yxa/src/transportlayer/ssl_util.erl (line 33):
>>>
>>> -include_lib("ssl/include/OTP-PKIX.hrl").
>>>
>>> which I couldn't find it in R15B01. I will try to find more about that
>>> header, but if you have a better starting point, please, let me know. I am
>>> not familiar with Erlang releases older than maximum 1 year.
>>>
>>> CGS
>>>
>>>
>>> Don't know why HAS_OTP_PUB_KEY_HRL wasn't set by configure. Try to
>>> define it in config.hrl as a work-around.
>>>
>>>
>>> https://github.com/mikma/yxa/blob/otp-r14a/src/transportlayer/ssl_util.erl
>>>
>>>
>>> /Mikael
>>>
>>>
>>>
>>>
>>> On Fri, Aug 31, 2012 at 2:36 PM, CGS <cgsmcmlxxv at gmail.com> wrote:
>>>
>>>> Yes.
>>>>
>>>>
>>>>
>>>> On Fri, Aug 31, 2012 at 2:35 PM, Mikael Magnusson <mikma264 at gmail.com>wrote:
>>>>
>>>>> On 08/31/2012 02:33 PM, CGS wrote:
>>>>>
>>>>> I changed it in configure.ac and configure script finished without
>>>>> error. Unfortunately, make reports errors:
>>>>>
>>>>> ssl_util.erl:27: can't find include lib "ssl/include/OTP-PKIX.hrl"
>>>>> ssl_util.erl:179: record 'AttributeTypeAndValue' undefined
>>>>> ssl_util.erl:182: record 'AttributeTypeAndValue' undefined
>>>>> ssl_util.erl:186: record 'AttributeTypeAndValue' undefined
>>>>> ssl_util.erl:195: record 'SSLAttributeTypeAndValue' undefined
>>>>> ssl_util.erl:196: record 'SSLAttributeTypeAndValue' undefined
>>>>> ssl_util.erl:238: record 'Certificate' undefined
>>>>> ssl_util.erl:239: record 'Certificate' undefined
>>>>> ssl_util.erl:239: record 'TBSCertificate' undefined
>>>>> ssl_util.erl:279: record 'Certificate' undefined
>>>>> ssl_util.erl:280: record 'Certificate' undefined
>>>>> ssl_util.erl:280: record 'TBSCertificate' undefined
>>>>> ssl_util.erl:290: record 'Extension' undefined
>>>>> ssl_util.erl:292: record 'Extension' undefined
>>>>> ssl_util.erl:302: record 'Extension' undefined
>>>>> ssl_util.erl:303: variable 'Value' is unbound
>>>>> ssl_util.erl:519: record 'Certificate' undefined
>>>>> ssl_util.erl:519: record 'TBSCertificate' undefined
>>>>> ssl_util.erl:523: record 'Certificate' undefined
>>>>> ssl_util.erl:523: record 'TBSCertificate' undefined
>>>>> ssl_util.erl:532: record 'AttributeTypeAndValue' undefined
>>>>> ssl_util.erl:63: Warning: ssl:peercert/2: deprecated (will be removed
>>>>> in R15A); use ssl:peercert/1 and public_key:pkix_decode_cert/2 instead
>>>>> make[2]: *** [../../ebin/ssl_util.beam] Error 1
>>>>> make[2]: Leaving directory
>>>>> `/media/Data/Projects/yxa_new/src/transportlayer'
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory `/media/Data/Projects/yxa_new/src'
>>>>> make: *** [all-recursive] Error 1
>>>>>
>>>>> Any suggestion?
>>>>>
>>>>>
>>>>> Are you using the R14A branch?
>>>>>
>>>>> https://github.com/mikma/yxa/tree/otp-r14a
>>>>>
>>>>>
>>>>> /Mikael
>>>>>
>>>>>
>>>>> CGS
>>>>>
>>>>>
>>>>> On Fri, Aug 31, 2012 at 2:27 PM, Mikael Magnusson <mikma264 at gmail.com>wrote:
>>>>>
>>>>>> On 08/31/2012 02:24 PM, CGS wrote:
>>>>>>
>>>>>> Just tried it and I got this with Erlang R15B01 (erts-5.9.1):
>>>>>>
>>>>>> configure: error: 5.9.1 found, 5.7.2 (Erlang/OTP R13B-1) required
>>>>>>
>>>>>> If I will change the configure, do you think it won't affect the code
>>>>>> further?
>>>>>>
>>>>>>
>>>>>> There should be a parameter to configure that can be used to disable
>>>>>> that test, try it.
>>>>>>
>>>>>> /Mikael
>>>>>>
>>>>>>
>>>>>> CGS
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Aug 31, 2012 at 2:16 PM, Mikael Magnusson <mikma264 at gmail.com
>>>>>> > wrote:
>>>>>>
>>>>>>> On 08/31/2012 02:13 PM, CGS wrote:
>>>>>>>
>>>>>>> I tried a test, but firstly it needs to be brought up to the latest
>>>>>>> version of Erlang. R13B01 is obsolete version and many things are changed
>>>>>>> in Erlang since then.
>>>>>>>
>>>>>>> CGS
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> There is a branch for R14, maybe it works better with the latest
>>>>>>> Erlang version.
>>>>>>>
>>>>>>> https://github.com/mikma/yxa/tree/otp-r14a
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Aug 31, 2012 at 2:01 PM, Manuel A. Rubio "Bombadil" <
>>>>>>> bombadil at bosqueviejo.net> wrote:
>>>>>>>
>>>>>>>> And ... are you usign YXA in some areas? dev? production? test?
>>>>>>>>
>>>>>>>> El 2012-08-31 13:54, Mikael Magnusson escribió:
>>>>>>>>
>>>>>>>> On 08/31/2012 01:46 PM, CGS wrote:
>>>>>>>>
>>>>>>>> Hi Manuel,
>>>>>>>> I was wondering the same for some time. I will follow this thread
>>>>>>>> for the replies from devs.
>>>>>>>> CGS
>>>>>>>>
>>>>>>>>
>>>>>>>> I am not active in the project currently, and I don't think the
>>>>>>>> project is active at KTH or Stockholm University. People at KTH started the
>>>>>>>> project, and people at Stockholm University continued after them. But now
>>>>>>>> the project seems rather inactive.
>>>>>>>>
>>>>>>>> /Mikael
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio "Bombadil" <
>>>>>>>> bombadil at bosqueviejo.net> wrote:
>>>>>>>>
>>>>>>>>> Hi to all,
>>>>>>>>>
>>>>>>>>> I'm new in the list, I've reviewed the YXA code and I'd like to
>>>>>>>>> know the project activity, is ready for production?
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>> Manuel Rubio.
>>>>>>>>> _______________________________________________
>>>>>>>>> Yxa-devel mailing list
>>>>>>>>> Yxa-devel at lists.su.se
>>>>>>>>> https://lists.su.se/mailman/listinfo/yxa-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Yxa-devel mailing listYxa-devel at lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel
>>>>>>>>
>>>>>>>> --
>>>>>>>> Manuel A. Rubio "Bombadil"
>>>>>>>> Usuario de GNU/Linux #323628 acorde a http://counter.li.org/
>>>>>>>> Técnico en Admin. Sistemas Informáticos
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Yxa-devel mailing list
>>>>>>>> Yxa-devel at lists.su.se
>>>>>>>> https://lists.su.se/mailman/listinfo/yxa-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Yxa-devel mailing listYxa-devel at lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Yxa-devel mailing list
>>>>>>> Yxa-devel at lists.su.se
>>>>>>> https://lists.su.se/mailman/listinfo/yxa-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Yxa-devel mailing list
>>>>>> Yxa-devel at lists.su.se
>>>>>> https://lists.su.se/mailman/listinfo/yxa-devel
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.su.se/pipermail/yxa-devel/attachments/20120831/faf9474f/attachment-0001.html>
More information about the Yxa-devel
mailing list