email - Shall I use HSM to decrypt message instead of using an application server that link to HSM to decrypt the message -


our company using hsm store private keys of individuals. messages encrypted public keys. problem me whether should use server connect hsm private key , decrypt message in server or pass encrypted message hsm , ask hsm decrypt me (so key not need pass outside hsm). but, hsm usuallyhas function; if yes, slow? messages emails , instant messages.

...whether should use server connect hsm private key , decrypt message in server or pass encrypted message hsm , ask hsm decrypt me

if have proper hsm, never allow exporting plain private keys out of it. otherwise having hsm protect keys useless. have hsm decryption on data.

you can consider adding application server picture anyway have abstraction layer between client applications , hsm. depending on hsm have, have 2 options:

  • have application server physical hsm attached (e.g. pci-e card) exposing own api client applications.
  • use networked hsm , register application server client.

typically (pretty always) code can consume hsms through pkcs#11 or similar interface / crypto engine (e.g. chil thales hsms). pkcs#11 there plenty of libraries available programming language. hsm vendors provide set of software libraries consume.

the bottom line if hsm proper fips approved hsm, allowing exporting private keys make money being wasted.

but, hsm usuallyhas function; if yes, slow?

most of general purpose hsms fast in general crypto operations. again depends kind of hsm have.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -