lib/universa_tools/uniring.rb in universa_tools-0.1.6 vs lib/universa_tools/uniring.rb in universa_tools-0.1.7
- old
+ new
@@ -76,9 +76,12 @@
if !file_name
tag, file_name = file_name, tag
end
file_name, password = file_name.split(':', 2)
begin
+ # TODO: REQUIRE TAG
+ # TODO: REQUIRE FORCE or prompt to update tag
+ # TODO: separate tag from this parameter - too hard to use
keyring.add_key load_key(file_name, password), tag
puts success_style("\nKey added\n")
rescue ArgumentError
error "key already in ring"
end