From 238e33e53195385dac51e18fffd0f4511244c560 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 15 Sep 2017 10:58:05 -0400 Subject: 4096-bit RSA keys working again, with 8k keystore "blocks". --- cryptech/libhal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cryptech') diff --git a/cryptech/libhal.py b/cryptech/libhal.py index 8666d15..acd1abb 100644 --- a/cryptech/libhal.py +++ b/cryptech/libhal.py @@ -403,7 +403,7 @@ class PKey(Handle): return result def export_pkey(self, pkey): - return self.hsm.pkey_export(pkey = pkey, kekek = self, pkcs8_max = 2560, kek_max = 512) + return self.hsm.pkey_export(pkey = pkey, kekek = self, pkcs8_max = 5480, kek_max = 512) def import_pkey(self, pkcs8, kek, flags = 0): return self.hsm.pkey_import(kekek = self, pkcs8 = pkcs8, kek = kek, flags = flags) -- cgit v1.2.3