string-encrypt 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/journal.rb +3 -3
  2. metadata +1 -1
@@ -11,14 +11,14 @@ else
11
11
  filename = ARGV[0]
12
12
  end
13
13
  if File.exists? filename then
14
- system("decrypt -i rsa.priv -o tmp_priv.pem")
15
- `decrypt -i #{filename} -o #{filename}.tmp -z -k tmp_priv.pem`
14
+ system("decrypt.rb -i rsa.priv -o tmp_priv.pem")
15
+ `decrypt.rb -i #{filename} -o #{filename}.tmp -z -k tmp_priv.pem`
16
16
  system "clear"
17
17
  `rm tmp_priv.pem`
18
18
  if File.exists? "#{filename}.tmp" then
19
19
  `echo $(date) >> #{filename}.tmp`
20
20
  system("vim #{filename}.tmp")
21
- `encrypt -i #{filename}.tmp -o #{filename} -z -k rsa.pub`
21
+ `encrypt.rb -i #{filename}.tmp -o #{filename} -z -k rsa.pub`
22
22
  `rm #{filename}.tmp`
23
23
  else
24
24
  puts "decryption failed"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: string-encrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branden Giacoletto