Check at most 16 characters of the key. Fixes #7936

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
Merge pull request #7949 from hacosta/apt_key

Check at most 16 characters of the key. Fixes #7936