Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Secrets SDK with Rust keyring bindings #222

Merged
merged 46 commits into from
Nov 14, 2023
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
a85090c
WIP Start adding secrets sdk
t1m0thyj Oct 30, 2023
c0fbaec
feat(secrets): Create PoC Python bindings that use secrets-core
traeok Oct 31, 2023
9e60ae3
WIP Move secrets_core dep to CLI repo
t1m0thyj Oct 31, 2023
52a465e
Fix working directory in GitHub workflow
t1m0thyj Oct 31, 2023
dcf52a4
Try adding script that configures cross
t1m0thyj Oct 31, 2023
c5401a4
Add executable permission to shell script
t1m0thyj Oct 31, 2023
6de5e87
Install libsecret-1-dev in cross script
t1m0thyj Oct 31, 2023
1e2f591
Try to use Ubuntu for cross-compilation
t1m0thyj Oct 31, 2023
924018b
Try again to fix architectures
t1m0thyj Oct 31, 2023
8a92ece
Try using GITHUB_ENV for cross-compile options
t1m0thyj Nov 1, 2023
36e8b10
Fix passing env vars to Docker container
t1m0thyj Nov 1, 2023
1e01a09
Forgot to pass target to configure-cross script
t1m0thyj Nov 1, 2023
1023951
Try to fix env vars in docker options
t1m0thyj Nov 1, 2023
64d671b
Don't set rust flags in configure-cross script
t1m0thyj Nov 1, 2023
d635e2f
Install pkg-config in Docker containers
t1m0thyj Nov 1, 2023
c1c9b7e
secrets: update errors to use secrets-core error info
traeok Nov 1, 2023
bebffa5
Force amd64 version of pkg-config
t1m0thyj Nov 1, 2023
03ef98b
Try removing CROSS_DEB_ARCH
t1m0thyj Nov 1, 2023
6f2d47c
Try to fix rustflags env var definition
t1m0thyj Nov 1, 2023
1522236
Remove quotes from vars eched to GITHUB_ENV
t1m0thyj Nov 1, 2023
bdd9ce5
Try to install libsecret for different arch
t1m0thyj Nov 1, 2023
505de34
Ignore missing apt packages
t1m0thyj Nov 1, 2023
f740f97
Ignore apt-get update errors
t1m0thyj Nov 1, 2023
15bd9d5
Try to fix apt sources for cross-compile
t1m0thyj Nov 1, 2023
78a6660
Add libglib2.0-dev package for s390x
t1m0thyj Nov 1, 2023
4bce88e
Fix invalid PKG_CONFIG_PATH
t1m0thyj Nov 1, 2023
d6f512c
Add py3.7 wheel and remove pypy ones
t1m0thyj Nov 1, 2023
c977594
Make keyring a submodule of secrets sdk
t1m0thyj Nov 2, 2023
7f588e9
List interpreters for windows and macos
t1m0thyj Nov 2, 2023
7524876
Add windows arm64 build
t1m0thyj Nov 2, 2023
3b8e6c5
Try abi3-py37 feature to fix windows arm64 build
t1m0thyj Nov 2, 2023
5eca570
Restructure secrets sdk as namespace package
t1m0thyj Nov 3, 2023
a6e58c9
Replace keyring package with secrets sdk
t1m0thyj Nov 3, 2023
7bff9bb
Try to fix maturin and add py3.12
t1m0thyj Nov 3, 2023
3e798cd
Fix unit tests for credential manager
t1m0thyj Nov 3, 2023
bab3ed5
Update flake8 version and change workflow triggers
t1m0thyj Nov 3, 2023
71cbbce
Add Rust to ReadTheDocs config
t1m0thyj Nov 3, 2023
3114108
Remove secrets sdk from doc requirements
t1m0thyj Nov 3, 2023
70d62ee
Remove logging call in credential manager
t1m0thyj Nov 3, 2023
82eaf4a
Enable release workflows to publish prerelease to PyPI
t1m0thyj Nov 6, 2023
9f676db
Fix secrets sdk version constraint
t1m0thyj Nov 6, 2023
fa37fce
Add package metadata and update changelog
t1m0thyj Nov 6, 2023
f2f361a
Fix Python binding and split out _set_credential method
t1m0thyj Nov 6, 2023
917ebd7
Fix nul byte not trimmed from win32 creds
t1m0thyj Nov 7, 2023
8ea8fb4
Merge pull request #223 from zowe/ci/publish-dev-release
t1m0thyj Nov 10, 2023
f21170e
Update commit hash for secrets_core package
t1m0thyj Nov 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove quotes from vars eched to GITHUB_ENV
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
t1m0thyj committed Nov 1, 2023
commit 1522236123d704566d03832cd18817984d43034f
6 changes: 3 additions & 3 deletions src/secrets/scripts/configure-cross.sh
Original file line number Diff line number Diff line change
@@ -2,9 +2,9 @@

# Set environment variables needed for cross-compilation in current shell
set_env() {
echo "PKG_CONFIG_SYSROOT_DIR=\"/\"" >> $GITHUB_ENV
echo "RUSTFLAGS=\"-L $1\"" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=\"$1/pkgconfig\"" >> $GITHUB_ENV
echo "PKG_CONFIG_SYSROOT_DIR=/" >> $GITHUB_ENV
echo "RUSTFLAGS=-L $1 $RUSTFLAGS" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$1/pkgconfig" >> $GITHUB_ENV
}

case "$1" in