<commit_before>shib-sha256
===========

Simple crypto config for Shibboleth IDP that defaults SAML signing and digest algorithms to SHA-256.

Install
============

1)To add the extension code to the IdP:

    a) Add the extension project jar to the IdP source distribution's lib directory.

    b) Re-run the IdP install script to build and deploy the new WAR file.

2) To activate the extension code: In the IdP's conf/internal.xml, add the following new bean declaration:

    <bean id="OpensamlSha256Config" class="net.gfipm.cryptoconfig.OpensamlSha256ConfigBean" depends-on="shibboleth.OpensamlConfig" /> 


Build Instructions
============

If you want to build, the project is a standard maven project and should build with 'mvn clean install'.

<commit_msg>Updated Readme to point to the official Shibboleth Crypto Extension Library.<commit_after>shib-sha256
===========

Simple crypto config for Shibboleth IDP that defaults SAML signing and digest algorithms to SHA-256.

You may want to instead use the official Shibboleth cyrpto extension module:

https://wiki.shibboleth.net/confluence/display/SHIB2/Changing+IdP+Signature+Method+Algorithm


Install
============

1)To add the extension code to the IdP:

    a) Add the extension project jar to the IdP source distribution's lib directory.

    b) Re-run the IdP install script to build and deploy the new WAR file.

2) To activate the extension code: In the IdP's conf/internal.xml, add the following new bean declaration:

    <bean id="OpensamlSha256Config" class="net.gfipm.cryptoconfig.OpensamlSha256ConfigBean" depends-on="shibboleth.OpensamlConfig" /> 


Build Instructions
============

If you want to build, the project is a standard maven project and should build with 'mvn clean install'.


{'fraction_non_alphanumeric': 0.09591373439273553, 'fraction_numerical': 0.016458569807037457, 'mean_word_length': 4.724025974025974, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4240303', 'n_tokens_mistral': 540, 'n_tokens_neox': 500, 'n_words': 209}