[ 
https://issues.apache.org/jira/browse/YARN-11738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938193#comment-17938193
 ] 

Steve Loughran commented on YARN-11738:
---------------------------------------

This now logs at INFO every time I run any hadoop command
{code}
bin/hadoop s3guard bucket-info $BUCKET

2025-03-25 12:05:44,838 [main] INFO  token.SecretManager 
(SecretManager.java:<clinit>(126)) - Selected hash algorithm: HmacSHA1
2025-03-25 12:05:44,838 [main] INFO  token.SecretManager 
(SecretManager.java:<clinit>(131)) - Selected hash key length:64
Filesystem s3a://stevel-london
Location: eu-west-2
{code}




> Modernize SecretManager config
> ------------------------------
>
>                 Key: YARN-11738
>                 URL: https://issues.apache.org/jira/browse/YARN-11738
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn
>    Affects Versions: 3.4.1
>            Reporter: Bence Kosztolnik
>            Assignee: Bence Kosztolnik
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.0
>
>
> FIPS-compliant HMAC-SHA1 algorithms require secret keys to be at least 112 
> bits long. 
> https://github.com/apache/hadoop/blob/98c2bc87b1445c533268c58d382ea4e4297303fd/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/SecretManager.java#L144
> Should be set to 128 to be FIPS compatible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to