Administrator pushed to branch master at VideoLAN / libaacs

Commits:
f263376b by npzacs at 2018-08-16T13:09:31Z
Update ChangeLog

- - - - -
a31f1755 by npzacs at 2018-11-27T13:08:23Z
Improve logging of revoked certificates

- - - - -


2 changed files:

- ChangeLog
- src/libaacs/mmc.c


Changes:

=====================================
ChangeLog
=====================================
@@ -1,4 +1,8 @@
-- Add aacs_set_key_caching()
+- Add support for AACS2 content certificate.
+- Add aacs_set_key_caching().
+- Issue a warning when using AACS2 capable drive.
+- Fix data corruption when structs are not packed.
+
 2017-05-04: Version 0.9.0
 - Add aacs_decrypt_bus().
 - Add aacs_get_bdj_root_cert_hash().


=====================================
src/libaacs/mmc.c
=====================================
@@ -449,11 +449,13 @@ static int _mmc_aacs_auth(MMC *mmc, uint8_t agid, const 
uint8_t *host_priv_key,
     // send host cert + nonce
     if (!_mmc_send_host_cert(mmc, agid, mmc->host_nonce, host_cert)) {
 
+        str_print_hex(str, host_cert + 4, 6);
         if ((mmc->drive_cert[1] & 0x01) && !(host_cert[1] & 0x01)) {
             BD_DEBUG(DBG_MMC | DBG_CRIT, "Certificate (id 0x%s) can not be 
used with bus encryption capable drive\n",
-                  str_print_hex(str, host_cert + 4, 6));
+                     str);
         } else {
-            BD_DEBUG(DBG_MMC | DBG_CRIT, "Host key / Certificate has been 
revoked by your drive ?\n");
+            BD_DEBUG(DBG_MMC | DBG_CRIT, "Host key / Certificate (id 0x%s) has 
been revoked by your drive ?\n",
+                     str);
         }
         return MMC_ERROR_CERT_REVOKED;
     }



View it on GitLab: 
https://code.videolan.org/videolan/libaacs/compare/03d30852590b86e73cb8fd52dde808dbe0c2ac0f...a31f1755a36ccc339db01580dd6edfbbcf4f85ba

-- 
View it on GitLab: 
https://code.videolan.org/videolan/libaacs/compare/03d30852590b86e73cb8fd52dde808dbe0c2ac0f...a31f1755a36ccc339db01580dd6edfbbcf4f85ba
You're receiving this email because of your account on code.videolan.org.
_______________________________________________
libaacs-devel mailing list
libaacs-devel@videolan.org
https://mailman.videolan.org/listinfo/libaacs-devel

Reply via email to