Added the same default options to key-dist and sec