sha1_name: use strlcpy() to copy strings