summaryrefslogtreecommitdiff
path: root/controllers/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/interfaces')
-rw-r--r--controllers/interfaces/cli.rb6
-rw-r--r--controllers/interfaces/eval.rb4
2 files changed, 3 insertions, 7 deletions
diff --git a/controllers/interfaces/cli.rb b/controllers/interfaces/cli.rb
index 5967c75..ae066cd 100644
--- a/controllers/interfaces/cli.rb
+++ b/controllers/interfaces/cli.rb
@@ -13,11 +13,11 @@ module NanoBot
puts NanoBot::GEM[:version]
exit
when 'security'
- result = NanoBot.security
+ result = NanoBot.security.check
if result[:encryption]
puts "\n✅ Encryption is enabled and properly working."
- puts ' It means that your data is cyrptographed stored in your disk.'
+ puts ' This means that your data is stored in an encrypted format on your disk.'
else
puts "\n❌ Encryption is not being utilized to store your content."
puts ' This means that your data can be easily read because it is stored in plaintext.'
@@ -27,7 +27,7 @@ module NanoBot
puts "\n✅ A password is being used for the encrypted content."
puts ' This means that only those who possess the password can decrypt your data.'
else
- puts "\n❌ No password is being used for the encrypted content."
+ puts "\n❌ No custom password is being used for the encrypted content."
puts ' This means that anyone can easily decrypt your data.'
end
diff --git a/controllers/interfaces/eval.rb b/controllers/interfaces/eval.rb
index 5f472ad..9613b28 100644
--- a/controllers/interfaces/eval.rb
+++ b/controllers/interfaces/eval.rb
@@ -1,9 +1,5 @@
# frozen_string_literal: true
-require 'pry'
-require 'rainbow'
-
-require_relative '../../logic/helpers/hash'
require_relative '../../logic/cartridge/affixes'
module NanoBot