safedb 0.01.0002 → 0.01.0003

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb19bd4918cd739c9ca8faac2d3666bf2fbc1d59d885f6ba528c6fdd051cc202
4
- data.tar.gz: b454484ca5af7033feffda817d00f24829b2640d69038930ed2f2db7e05a2c90
3
+ metadata.gz: 2a5b5879d5892ffaec119567912fbb9415c00b6696f251509822fed70905695f
4
+ data.tar.gz: eebaae89c1cba2b0c46e9ebecf2f8ed880b397d6167b766b58abe0a92be7e570
5
5
  SHA512:
6
- metadata.gz: 59a0722bb96c8ca5fbde46dd28d185ce21850cb1669b9ce8076336f0520b1585f89ba8273a19502891a701b5819c9582aa158f09413db73c198b7d58d6e4c156
7
- data.tar.gz: e94af140d24fe594c56be30d7ff379bd6d81d1d037e3d6f3d89edffa13df5182ab07e3064244f1cc3cacc55a6a1f26caa7a044da6cf1bbb542ca4e337b042e69
6
+ metadata.gz: 499040f9560c074a611d3ce783925d3283ca8a69a3a2e775e6101278a7f5ab714e8ccc8acc60fedc5d3743c54aa9a24079e9e9e5b88636a7e9bc40575891fecb
7
+ data.tar.gz: 1050a6d27d1847ce0147ca3a9192b9b3888735002ff1a8710ffc7d81aea0d66d839b25d82d6b9b36071806cde7a548263f24cae8e86a79733e6a1f089ea3f408
data/README.md CHANGED
@@ -15,8 +15,11 @@ Attackers would need to bring together the crypt material, the salt file and you
15
15
 
16
16
  ### Command to Acquire Repository State Key
17
17
 
18
+ Note = you only need 10 base64 chars to hold the 40 character hex hash.
19
+
18
20
  ```
19
- git log -1 --format="%h" HEAD
21
+ git rev-parse `git log -1 --format=%h HEAD` # acquire the full commit hash hex string
22
+ git log -1 --format=%h HEAD # pick up the 1st 7 commit hash characters
20
23
  ```
21
24
 
22
25
  ## safe's delivery pipeline
@@ -37,6 +40,14 @@ The pipeline process is triggered when new software arrives in the safedb github
37
40
  - if tests pass the safedb gem is deployed to RubyGems.org
38
41
  - website documentation is built and posted to [safedb.net](https://www.safedb.net)
39
42
 
43
+ ### Command to Acquire Repository State Key
44
+
45
+ Note = you only need 10 base64 chars to hold the 40 character hex hash.
46
+
47
+ ```
48
+ git rev-parse `git log -1 --format=%h HEAD` # acquire the full commit hash hex string
49
+ git log -1 --format=%h HEAD # pick up the 1st 7 commit hash characters
50
+ ```
40
51
 
41
52
  safe database introduction
42
53
  -----------
data/bin/safe CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ require 'openssl'
3
4
  require 'interprete'
4
5
 
5
6
  Interprete.start(ARGV)
@@ -125,8 +125,6 @@ module SafeDb
125
125
 
126
126
  binary_salt = Key.to_binary_from_bit_string( scrypt_salt )
127
127
 
128
- require "openssl"
129
-
130
128
  puts ""
131
129
  puts $LOADED_FEATURES.grep(/openssl/)
132
130
  puts ""
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SafeDb
2
- VERSION = "0.01.0002"
2
+ VERSION = "0.01.0003"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safedb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.01.0002
4
+ version: 0.01.0003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apollo Akora