1.Create a repo with gpg key
Or, use following test repo directly:
2.Add this repo in "yast2 - Software Repositories".
vp.2 A warning window should popped up which will confirm with user to import untrusted gpg key. Moreover the gpg key could be imported successfully and the repo should be added successfully.