Skip to content

Commit

Permalink
Encrypt IPStack key
Browse files Browse the repository at this point in the history
  • Loading branch information
alin23 committed Jun 3, 2021
1 parent 5ad4988 commit 95fb276
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitsecret/paths/mapping.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Lunar/Resources/dsa_priv.pem:4724e8ee0055cf3ddc55ca528691955d68879ec8abaafd3200cdfa20298ea1d9
Lunar/Resources/eddsa_priv:d079018c2b1c003c9e239ea8f8cc999b7d98adfd0616911ba0263dd20629e646
bin/.env.sh:d184fc10ca682fee949f61db1aea476072ff9fc48fd88594f3faf3fa47497a0f
bin/.env.sh:4dd6f279599d779f48d342e0bfefe8fc98a9a35ffedb6d7971bf10c590c86378
Lunar/Modes/SensorMode.swift:de07214f85020ca38698c88f4dea97855ca46ce74b4472d155583691a85a3361
Lunar/Modes/SyncMode.swift:ae5c305ec2eb01cec303f305a6a0989567ed61e99e59d6bed80c5d42cc6d67d8
Lunar/Modes/LocationMode.swift:d6d1357cc46b5401bf796f5bc7c8604df6c0ea586168f2e166093bc042ded4ed
Lunar/Modes/LocationMode.swift:74d814027d298e09efc78cfbe99b2f4981bc7466835da0ec1b5e2fcba1d7412a
Lunar/Data/Pro.swift:63cc84cc4d5b5b17911961274c49bd7ab1c038c5df1ffef396e7bcc2b68c82cb
1 change: 1 addition & 0 deletions .sourcery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ args:
encryptionKey: ${SB_ENCRYPTION_KEY}
sentryDSN: ${SENTRY_DSN}
analyticsHash: ${ANALYTICS_HASH}
ipstackKey: ${IPSTACK_KEY}
Binary file modified Lunar/Modes/LocationMode.swift.secret
Binary file not shown.
2 changes: 2 additions & 0 deletions Lunar/Templates/Secrets.stencil
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ public struct Secrets {
let encryptionKey: String
let sentryDSN: String
let analyticsHash: String
let ipstackKey: String
}

public let secrets = Secrets(
appSecret: "{{ argument.appSecret }}",
encryptionKey: "{{ argument.encryptionKey }}",
sentryDSN: "{{ argument.sentryDSN }}",
analyticsHash: "{{ argument.analyticsHash }}"
ipstackKey: "{{ argument.ipstackKey }}"
)

Binary file modified bin/.env.sh.secret
Binary file not shown.

0 comments on commit 95fb276

Please sign in to comment.