Skip to content

Commit 5667a6b

Browse files
authored
fix(security): Remove GPG key leak from build logs (#693)
* fix(security): Remove GPG key leak from build logs * removing trace logs
1 parent b356055 commit 5667a6b

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

android/iotdevicesdk/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ android {
6161
}
6262
}
6363

64-
buildFeatures {
64+
buildFeatures {
6565
// AGP 8 disables buildConfig generation by default. We set this to true
6666
// to resstore BuildConfig.VERSION_NAME for both debug and release build types.
67-
buildConfig true
67+
buildConfig true
6868
}
6969

7070
// Make the 'release' SoftwareComponent available for publishing on AGP 8
@@ -203,7 +203,6 @@ afterEvaluate {
203203
(String) project.property("signingKey"),
204204
(String) project.property("signingPassword")
205205
)
206-
println("key=" + project.property("signingKey"))
207206
sign(publications)
208207
}
209208
}

codebuild/cd/deploy-android.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -ex
3+
set -e
44
set -o pipefail # Ensure if any part of a pipeline fails, it propogates the error through the pipeline
55

66
git submodule update --init

utils/publish-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -euxo pipefail
3+
set -euo pipefail
44

55
# Redirect output to stderr.
66
exec 1>&2

0 commit comments

Comments
 (0)