directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSERVER-1351) DERInteger class provides no access to the full possible range of values a DERInteger can contain
Date Tue, 26 May 2009 16:55:46 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRSERVER-1351.
------------------------------------------

    Resolution: Fixed

Patch applied in http://svn.apache.org/viewvc?rev=778791&view=rev

> DERInteger class provides no access to the full possible range of values a DERInteger
can contain
> -------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1351
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1351
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: asn1
>         Environment: any
>            Reporter: Brad Davis
>            Assignee: Emmanuel Lecharny
>            Priority: Minor
>         Attachments: patch.txt
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> ASN.1 encoded DERInteger objects are used for storing keypairs in base64 encoded public
key blocks  such as this one:
> -----BEGIN RSA PUBLIC KEY-----
> MIGJAoGBAMQgV2gXLbXgesWgeAsj8P1Uvm/zibrFXqwDq27lLKNgWGYGX2ax3LyT
> 3nzI1Y5oLs4kPKTsMM5ft9aokwf417lKoCRlZc9ptfRbgxDx90c9GtWVmkrmDvCK
> ae59TMoXIiGfZiwWT6KKq5Zm9/Fu2Il3B2vHGkKJYKixmiBJRKp/AgMBAAE=
> -----END RSA PUBLIC KEY-----
> This contains a DERSequence of two DERInteger objects representing the public exponent
and the modulus of the key.  But the modulus is far to large to be represented by 'intValue()',
so there is no way to convert from this into a PublicKey object.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message