Branch: refs/heads/stable1-proposed
Home: https://github.com/kronosnet/kronosnet
Commit: 26971bf7254414edecc433f84ef3262aac8927b7
https://github.com/kronosnet/kronosnet/commit/26971bf7254414edecc433f84ef32…
Author: Jan Friesse <jfriesse(a)redhat.com>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
M libknet/crypto_nss.c
M libknet/tests/api_knet_handle_crypto.c
Log Message:
-----------
Import key with length not dividable by wrap key block size
Wrapping of the key is standard crypto operation which needs data
aligned to cipher block size, otherwise it fails.
Possible solution is to use a zero filled buffer with size aligned to
required wrap key block size. Private key is copied to the beginning of
the buffer and unwrap operation keeps using only required private key
size.
Signed-off-by: Jan Friesse <jfriesse(a)redhat.com>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
Branch: refs/heads/master
Home: https://github.com/kronosnet/kronosnet
Commit: 5e1195e224805e8e5f9b801e97f78cc7da8365c9
https://github.com/kronosnet/kronosnet/commit/5e1195e224805e8e5f9b801e97f78…
Author: Jan Friesse <jfriesse(a)redhat.com>
Date: 2018-10-01 (Mon, 01 Oct 2018)
Changed paths:
M libknet/crypto_nss.c
M libknet/tests/api_knet_handle_crypto.c
Log Message:
-----------
Import key with length not dividable by wrap key block size
Wrapping of the key is standard crypto operation which needs data
aligned to cipher block size, otherwise it fails.
Possible solution is to use a zero filled buffer with size aligned to
required wrap key block size. Private key is copied to the beginning of
the buffer and unwrap operation keeps using only required private key
size.
Signed-off-by: Jan Friesse <jfriesse(a)redhat.com>
Commit: abb9841b976f0ffb45ecfedd6d1b8f833455e1d3
https://github.com/kronosnet/kronosnet/commit/abb9841b976f0ffb45ecfedd6d1b8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-10-08 (Mon, 08 Oct 2018)
Changed paths:
M libknet/crypto_nss.c
M libknet/tests/api_knet_handle_crypto.c
Log Message:
-----------
Merge pull request #159 from jfriesse/nss-misalligned-private-key
Import key with length not dividable by wrap key block size
Compare: https://github.com/kronosnet/kronosnet/compare/bebf958d0034...abb9841b976f
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.