dotenvx 5.0.5-aarch64-linux → 5.0.6-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dea730f3eef1941db75b91e07945bba6b0d820a72b4cfc5ed38777267dfff46e
4
- data.tar.gz: 1ea04447e78bce6fb909617398c78dc01e021fdca751a08ff9fd2df69852eb14
3
+ metadata.gz: 1f70a9190204b2a3ff994df19bcc3d750738ff02c9522786f0436c8a959ce1cc
4
+ data.tar.gz: 43c3269c5a936fc1bc456c84829441db6b622a29fbc497b78d011b705b504bc9
5
5
  SHA512:
6
- metadata.gz: 38276dfd811151d409ee6041935308cee6b89a0aa4d7b6f0c26f4c2a044f41e77c93b967a9e665d6addb5b547696b44dd491bffccfd4390532044344c915ac3d
7
- data.tar.gz: 1c2fcb9bd098e8682870de3384b31105c61b9ef46bbb81325aec97b605872ceb8629e878ab06f15ba2827ab0444421185395510f0a1c6bb1656bee5b6c2161e1
6
+ metadata.gz: 7995df72e68fd209feba1b7a775fa76eea126545c7bdf58fc0b8cd9f4f71bbe674a3b2a979228f171b3b8ca05c985b1d20e87fc5a9924e32781dc0888554d6b9
7
+ data.tar.gz: 0f4fe15a77a37ff2e411e3c5e77b9a058b99487fb4dadc705563c9566b3520ec4f7d484a4906f601dd50bda0bab21d1a2e2f76d76cc4f764df8717f9fb4dc06f
data/README.md CHANGED
@@ -14,6 +14,8 @@
14
14
  gem install dotenvx
15
15
  ```
16
16
 
17
+ `index.rb`
18
+
17
19
  ```ruby
18
20
  require "dotenvx"
19
21
 
@@ -21,3 +23,55 @@ Dotenvx.load
21
23
 
22
24
  puts "Hello #{ENV["HELLO"]}"
23
25
  ```
26
+
27
+  
28
+
29
+ ## Usage
30
+
31
+ *Install* dotenvx.
32
+
33
+ ```sh
34
+ $ curl -sfS https://dotenvx.sh | sh
35
+ ◈ installed (2.38.2:/usr/local/bin/dotenvx)
36
+ ```
37
+
38
+ *Encrypt* your secrets in `.env` files. The values become ciphertext and only your private key can unlock them.
39
+
40
+ ```sh
41
+ $ dotenvx encrypt
42
+ ◈ encrypted .env (039 BCA) via .env.keys ⛉
43
+ ```
44
+
45
+ *Commit* your encrypted `.env` files with your code. It's safe. Now you can securely share secrets through git.
46
+
47
+ ```sh
48
+ $ git add .env
49
+ $ git commit -m "encrypt .env"
50
+ ```
51
+
52
+ *Ship* your code and secrets together. Dotenvx uses your private key to decrypt and inject your secrets just-in-time to your code.
53
+
54
+ ```sh
55
+ $ ruby index.rb
56
+ ⟐ injected env (2) from .env (039 BCA) via .env.keys ⛉
57
+ ```
58
+
59
+  
60
+
61
+ ## Design
62
+
63
+ Three widely used and proven primitives make up Dotenvx's design. Git, .env, and secp256k1.
64
+
65
+ We chose git because it is the best way to deliver digital goods. It is the container ship of the digital world. All code travels on its ships. Why not secrets? Why invent an inferior secrets delivery mechanism when the world class one is right there at your fingertips.
66
+
67
+ We chose .env because it is the open standard for loading secrets into code. It represents environment variables, the core primitive that all secrets end up injected into at runtime of code.
68
+
69
+ Lastly, we needed to choose an encryption algorithm. Encryption of the values inside the .env file would allow us to place those values with code, leveraging git's distribution advantages while still following the twelve-factor config – by separating the decryption key from the code (environment).
70
+
71
+ It was important that we choose a proven, simple, asymmetric standard with small keys. We chose secp256k1, battle-tested by Bitcoin for more than seventeen years. We made cryptography an opinionated choice so developers wouldn't have to. Encryption just worked.
72
+
73
+ The result is a system built entirely from primitives, developers already understand, and infrastructure they already use. Secrets can travel with code without becoming part of the code. Git distributes them, .env defines how apps consume them, and secp256k1 keeps their values unreadable. The kicker, all this works by setting a single private key on your infrastructure - no more risky async coordination of secrets, no more centralized downtime risk. Your secrets are always just there with your code, ready to be unlocked at runtime.
74
+
75
+ [Read the whitepaper →](https://dotenvx.com/dotenvx.pdf?v=README)
76
+
77
+  
Binary file
@@ -1,3 +1,3 @@
1
1
  module Dotenvx
2
- VERSION = "5.0.5"
2
+ VERSION = "5.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotenvx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.5
4
+ version: 5.0.6
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - motdotla