add trusted key store

check the error passed into the walkfunc?