Their was a few things that I wanted to achieve:
1. Roll into a tool that doesn't depend on those other tools. Not all
Linux distro's have them by default and I don't think android requires
those tools (not 100% sure)
2. Make it a bit easier if your in the situation where you don't have
the pem file

Just trying to hash out some ideas, weigh some options.


On Tue, Jan 29, 2013 at 5:26 PM, Robert Craig <[email protected]> wrote:
> Given an arbitrary apk, why can't you just unzip the apk then cd into the
> META-INF directory and do:
>
> openssl pkcs7 -inform DER -in CERT.RSA -out CERT.pem -outform PEM
> -print_certs
>
>
> Or am i missing what you're trying to achieve?
>
>
> On Tue, Jan 29, 2013 at 5:52 PM, William Roberts <[email protected]>
> wrote:
>>
>> Creating a pull request:
>> https://bitbucket.org/billcroberts/external-sepolicy
>>
>> To start discussions on being able to support creating a pem file from
>> a base16 cert or modifying insertkeys to be able to use base16
>> encodings or maybe paths to apks...
>>
>> Trying to add a pem file option to setool. This way if you have an
>> arbitrary apk you can create a pem file for it. Perhaps the better
>> approach is to modify insertkeys.py to be able to use base16 key files
>> as well.
>> This code doesn't work, converting the base16 string back to base64
>> doesn't result in the original pem file, and I am not really sure why?
>> Just posting this to see if anyone knows?
>>
>> --
>> Respectfully,
>>
>> William C Roberts
>>
>> --
>> This message was distributed to subscribers of the seandroid-list mailing
>> list.
>> If you no longer wish to subscribe, send mail to [email protected]
>> with
>> the words "unsubscribe seandroid-list" without quotes as the message.
>
>



-- 
Respectfully,

William C Roberts

--
This message was distributed to subscribers of the seandroid-list mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe seandroid-list" without quotes as the message.

Reply via email to