Project

General

Profile

Actions

Task #4006

closed

OAEP with SHA256

Added by Anonymous over 7 years ago. Updated over 6 years ago.

Status:
Abandoned
Priority:
Normal
Assignee:
-
Start date:
03/22/2017
Due date:
% Done:

0%

Estimated time:

Description

AlgorithmRsaOaep uses RSAES_OAEP_SHA_Decryptor which is OAEP padding with SHA1.
https://github.com/named-data/ndn-group-encrypt/blob/master/src/algo/rsa.cpp#L89

Recently, compromising attacks have been found for SHA1. Alex Halderman says we should change to OAEP padding with SHA256. Currently, the code uses the cryptopp definition:

typedef RSAES<OAEP<SHA> >::Decryptor RSAES_OAEP_SHA_Decryptor;

I don't see a typedef for SHA256, but I think it would be possible to define AlgorithmRsaOaepWithSha256 which uses:

RSAES<OAEP<SHA256> >

Related issues 1 (0 open1 closed)

Blocks NDN-CCL - Task #4007: Implement OAEP with SHA256Abandoned03/22/2017

Actions
Actions

Also available in: Atom PDF