Manual › Tools

Public/private keys

Figure 56 - Tools/Security Keys
Figure 56 - Tools/Security Keys

Keys are easily generated by SIP Inspector (Tools/Security Keys, or -genKeys). Four types are offered: RSA, DSA, DH and EC. The key length is in bits. The general rule is: the more bits, the stronger the encryption and the slower the processing. EC (elliptic curve) keys are the best of both worlds: they are relatively short and give superb security and speed. The length is checked: RSA, DSA and DH keys are 512 to 16384 bits; EC lengths are the curve sizes 163, 192, 224, 233, 256, 409 and 571. To generate keys select the algorithm and the length, press OK, and the keys are in the security folder (private.pem and public.pem). The table compares RSA and EC lengths of about the same strength:

RSAEC (supported sizes)
2048 bits224 bits
3072 bits256 bits
7680 bits409 bits
15360 bits571 bits