Cipherstring type 6 is Rsa2048_OaepSha1_HmacSha256_B64.
rbw currently supports Rsa2048_OaepSha1_B64 but not the deprecated option above.
The HMACSHA256 deprecated versions append a | and the signature to the ciphertext. This fix simply ignores the appended signature, since it's a deprecated mode anyways.
This PR does not add support for Rsa2048_OaepSha256_HmacSha256_B64 since I have no way of testing it, although I'd imagine its the same.
Fixes #5.
Cipherstring type
6
isRsa2048_OaepSha1_HmacSha256_B64
.rbw
currently supportsRsa2048_OaepSha1_B64
but not the deprecated option above.The
HMAC
SHA256
deprecated versions append a|
and the signature to the ciphertext. This fix simply ignores the appended signature, since it's a deprecated mode anyways.This PR does not add support for
Rsa2048_OaepSha256_HmacSha256_B64
since I have no way of testing it, although I'd imagine its the same.