Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Add key length check to eduGAIN verify verb.
Browse files Browse the repository at this point in the history
Note: not included in production checks.
  • Loading branch information
iay committed Nov 14, 2013
1 parent 4b231cf commit 422cf4c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions mdx/int_edugain/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@
p:id="us_incommon_pilot_filterEntities"
p:whitelistingEntities="false"
p:designatedEntities-ref="int_edugain_verify_blacklist"/>

<bean parent="X509CertificateValidationStage"
p:id="checkCertificates">
<property name="validators">
<list>
<!-- Error on RSA key length less than 2048 bits. -->
<bean parent="X509CertificateRSAKeyLengthValidator"
p:warningBoundary="0" p:errorBoundary="2048"/>
</list>
</property>
</bean>

<ref bean="standardImportActions"/>
<ref bean="errorTerminatingFilter"/>
</list>
Expand Down

0 comments on commit 422cf4c

Please sign in to comment.