Convert key_list to c/dbx. Code is not well tested as enforce is not ready yet.