Skip to contentSkip to conversation

Fixation on polarssl 1.1.4 - EOL was 2013-10-01

DISCUSSION Steven Haigh 5 participants 7 messages Feb 14, 2016 – Mar 4, 2016

lore
Share & tools
lore
#0 lore raw

Hi all,

Just been looking at the polarssl parts in Xen 4.6 and others - seems like we're hard coded to version 1.1.4 which was released on 31st May 2012.

Branch 1.1.x has been EOL for a number of years, 1.2.x has been EOL since Jan.

It's now called mbedtls and current versions are 2.2.1 released in Jan this year.

I'm not exactly clear on what polarssl is used for (and why not openssl?) - but is it time this was shown some loving?

Signature · 5 lines
Steven Haigh

Email: [email protected]
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 5 lines · Steven Haigh

Hi all,

Just been looking at the polarssl parts in Xen 4.6 and others - seems like we're hard coded to version 1.1.4 which was released on 31st May 2012.

Quoted 9 lines

Branch 1.1.x has been EOL for a number of years, 1.2.x has been EOL since Jan.

It's now called mbedtls and current versions are 2.2.1 released in Jan this year.

I'm not exactly clear on what polarssl is used for (and why not openssl?) - but is it time this was shown some loving?

I grep'ed for polarssl in tree and the only user seems to be vtpm. I've CC'ed Daniel and Quan for you.

Wei.

Quoted 14 lines
Signature · 13 lines
Steven Haigh

Email: [email protected]
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897




_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#2 lore raw
Quoted 12 lines · Wei Liu
Quoted 11 lines · Steven Haigh

Hi all,

Just been looking at the polarssl parts in Xen 4.6 and others - seems like we're hard coded to version 1.1.4 which was released on 31st May 2012.

Branch 1.1.x has been EOL for a number of years, 1.2.x has been EOL since Jan.

It's now called mbedtls and current versions are 2.2.1 released in Jan this year.

Quoted 9 lines
Quoted 3 lines

I'm not exactly clear on what polarssl is used for (and why not openssl?) - but is it time this was shown some loving?

I grep'ed for polarssl in tree and the only user seems to be vtpm. I've CC'ed Daniel and Quan for you.

Wei.

Looks like pv-grub has a build dependency on it as well based on the snippet from stubdom/Makefile.

.PHONY: grub
grub: cross-polarssl grub-upstream $(CROSS_ROOT)

Signature · 1 line
Doug Goldstein

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 20 lines · Doug Goldstein
Quoted 19 lines · Wei Liu
Quoted 5 lines · Steven Haigh

Hi all,

Just been looking at the polarssl parts in Xen 4.6 and others - seems like we're hard coded to version 1.1.4 which was released on 31st May 2012.

Quoted 9 lines

Branch 1.1.x has been EOL for a number of years, 1.2.x has been EOL since Jan.

It's now called mbedtls and current versions are 2.2.1 released in Jan this year.

I'm not exactly clear on what polarssl is used for (and why not openssl?) - but is it time this was shown some loving?

I grep'ed for polarssl in tree and the only user seems to be vtpm. I've CC'ed Daniel and Quan for you.

Quoted 9 lines
Quoted 2 lines

Wei.

Looks like pv-grub has a build dependency on it as well based on the snippet from stubdom/Makefile.

.PHONY: grub
grub: cross-polarssl grub-upstream $(CROSS_ROOT)

Oh, yes, you're right.

Looking at the source code pv-grub only needs the sha1 function from polarssl which might be easy to dealt with though. On the other hand, if there is no critical bug fix to the sha1 function, I wouldn't bother upgrading polarssl.

In fact, I think vtpm also only cares about some crypto algorithms like AES and SHA. We'd better check if there is any critical update to those functions before doing anything.

Wei.

Quoted 4 lines
Signature · 2 lines
-- 
Doug Goldstein
#4 lore raw
Quoted 34 lines · On February 16, 2016 1:08am, <[email protected]> wrote:
Quoted 6 lines · Doug Goldstein
Quoted 5 lines · Wei Liu
Quoted 4 lines · Steven Haigh

Hi all,

Just been looking at the polarssl parts in Xen 4.6 and others - seems like we're hard coded to version 1.1.4 which was released on 31st

May 2012.

Quoted 14 lines
Quoted 14 lines
Quoted 10 lines

Branch 1.1.x has been EOL for a number of years, 1.2.x has been EOL since Jan.

It's now called mbedtls and current versions are 2.2.1 released in Jan this year.

I'm not exactly clear on what polarssl is used for (and why not openssl?) - but is it time this was shown some loving?

I grep'ed for polarssl in tree and the only user seems to be vtpm. I've CC'ed Daniel and Quan for you.

Quoted 9 lines
Quoted 2 lines

Wei.

Looks like pv-grub has a build dependency on it as well based on the snippet from stubdom/Makefile.

.PHONY: grub
grub: cross-polarssl grub-upstream $(CROSS_ROOT)

Oh, yes, you're right.

Quoted 8 lines

Looking at the source code pv-grub only needs the sha1 function from polarssl which might be easy to dealt with though. On the other hand, if there is no critical bug fix to the sha1 function, I wouldn't bother upgrading polarssl.

In fact, I think vtpm also only cares about some crypto algorithms like AES and SHA. We'd better check if there is any critical update to those functions before doing anything.

Agreed.
If you really want to upgrade it, IMO this change would be backward compatible. btw, it may be not an easy task to build the test env, and I can help you test your patch.

Quan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw

create ^
thanks

Quoted 45 lines · Quan
Quoted 34 lines · On February 16, 2016 1:08am, <[email protected]> wrote:
Quoted 6 lines · Doug Goldstein
Quoted 5 lines · Wei Liu
Quoted 4 lines · Steven Haigh

Hi all,

Just been looking at the polarssl parts in Xen 4.6 and others - seems like we're hard coded to version 1.1.4 which was released on 31st

May 2012.

Quoted 14 lines
Quoted 14 lines
Quoted 10 lines

Branch 1.1.x has been EOL for a number of years, 1.2.x has been EOL since Jan.

It's now called mbedtls and current versions are 2.2.1 released in Jan this year.

I'm not exactly clear on what polarssl is used for (and why not openssl?) - but is it time this was shown some loving?

I grep'ed for polarssl in tree and the only user seems to be vtpm. I've CC'ed Daniel and Quan for you.

Quoted 9 lines
Quoted 2 lines

Wei.

Looks like pv-grub has a build dependency on it as well based on the snippet from stubdom/Makefile.

.PHONY: grub
grub: cross-polarssl grub-upstream $(CROSS_ROOT)

Oh, yes, you're right.

Quoted 8 lines

Looking at the source code pv-grub only needs the sha1 function from polarssl which might be easy to dealt with though. On the other hand, if there is no critical bug fix to the sha1 function, I wouldn't bother upgrading polarssl.

In fact, I think vtpm also only cares about some crypto algorithms like AES and SHA. We'd better check if there is any critical update to those functions before doing anything.

Quoted 4 lines

Agreed.
If you really want to upgrade it, IMO this change would be backward compatible. btw, it may be not an easy task to build the test env, and I can help you test your patch.

Right.

To be honest the chance of me working on it soon is rather low. To prevent this issue falling through the crack I've created an entry in bug tracker.

Wei.

Quoted 1 line

Quan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw

Processed: Re: Fixation on polarssl 1.1.4 - EOL was 2013-10-01

Processing commands for [email protected]:

Quoted 1 line

create ^

Created new bug #52 rooted at `<945CA011AD5F084CBEA3E851C0AB28894B859023@SHSMSX101.ccr.corp.intel.com>'
Title: `Re: [Xen-devel] Fixation on polarssl 1.1.4 - EOL was 2013-10-01'

Quoted 1 line

thanks

Finished processing.

Modified/created Bugs:
- 52: http://bugs.xenproject.org/xen/bug/52 (new)

---
Xen Hypervisor Bug Tracker
See http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen for information on reporting bugs Contact [email protected] with any infrastructure issues

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel