-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## New features - Automatic HTTPS prefix on Okta Domain during Okta Setup - Automatic copy RDS pwd to clipboard (#36) - MacOS Support (#35) - New Open Logs Command (#39) ## Bug Fixes - Error: Unable to assume AWS role bug (#29) - Error message for incorrect configuration is not a user-friendly bug (#38) - Unable to retrieve OKTA apps automatically bug (#37) - Improves Push MFA, challenge message
- Loading branch information
Showing
83 changed files
with
1,618 additions
and
662 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[FEATURE]" | ||
title: "Feature name" | ||
labels: enhancement | ||
assignees: vgmello-ellosoft | ||
assignees: vgmello | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
## Is your feature request related to a problem? Please describe. | ||
Describe the problem. | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
## Describe the solution you'd like | ||
Describe the solution, how you'd like to see it implemented. | ||
|
||
**Additional context** | ||
## Additional context | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,121 @@ | ||
name: .NET Release | ||
name: .NET Release Workflow | ||
on: | ||
push: | ||
tags: | ||
- "*" | ||
permissions: | ||
id-token: write | ||
contents: write | ||
attestations: write | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
release: | ||
name: Build & Release | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build & Publish | ||
run: dotnet publish src/Ellosoft.AwsCredentialsManager/Ellosoft.AwsCredentialsManager.csproj -c Release -p:Version=${{ github.ref_name }} -r win-x64 -o win-output | ||
- name: Zip Output | ||
uses: thedoctor0/zip-release@0.7.6 | ||
|
||
- name: Build & Publish Windows | ||
run: | | ||
dotnet publish src/Ellosoft.AwsCredentialsManager/Ellosoft.AwsCredentialsManager.csproj -c Release -p:Version=${{ github.ref_name }} \ | ||
-r win-x64 -o output-win | ||
- name: Build & Publish MacOS x64 | ||
run: | | ||
dotnet publish src/Ellosoft.AwsCredentialsManager/Ellosoft.AwsCredentialsManager.csproj -c Release -p:Version=${{ github.ref_name }} \ | ||
-r osx-x64 -o output-osx | ||
- name: Build & Publish MacOS ARM | ||
run: | | ||
dotnet publish src/Ellosoft.AwsCredentialsManager/Ellosoft.AwsCredentialsManager.csproj -c Release -p:Version=${{ github.ref_name }} \ | ||
-r osx-arm64 -o output-osxarm | ||
# Start - Temporary steps to enable the migration of zip to binary | ||
|
||
- name: Zip Windows Output | ||
run: | | ||
cd output-win | ||
zip aws-cred-mgr-win-x64.zip aws-cred-mgr.exe | ||
# End - Temporary steps to enable the migration of zip to binary | ||
|
||
- name: Rename Executables | ||
run: | | ||
mv output-win/aws-cred-mgr.exe output-win/aws-cred-mgr-win-x64.exe | ||
mv output-osx/aws-cred-mgr output-osx/aws-cred-mgr-osx-x64 | ||
mv output-osxarm/aws-cred-mgr output-osxarm/aws-cred-mgr-osx-arm64 | ||
- name: Import Apple Certificate and Key | ||
env: | ||
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} | ||
P12_PASSWORD: ${{ secrets.P12_PASSWORD }} | ||
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | ||
run: | | ||
# create variables | ||
CERTIFICATE_PATH=$RUNNER_TEMP/certificate.p12 | ||
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db | ||
# import certificate and provisioning profile from secrets | ||
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH | ||
# create temporary keychain | ||
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH | ||
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH | ||
security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH | ||
# import certificate to keychain | ||
security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH | ||
security set-key-partition-list -S apple-tool:,apple: -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH | ||
security list-keychain -d user -s $KEYCHAIN_PATH | ||
- name: Sign MacOS Binaries | ||
env: | ||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} | ||
run: | | ||
codesign --force -v --timestamp --options runtime --no-strict --prefix com.ellosoft. --sign "Developer ID Application: Ellosoft Limited ($APPLE_TEAM_ID)" --entitlements ./Ellosoft.AwsCredentialsManager.entitlements ./output-osxarm/aws-cred-mgr-osx-arm64 | ||
codesign --force -v --timestamp --options runtime --no-strict --prefix com.ellosoft. --sign "Developer ID Application: Ellosoft Limited ($APPLE_TEAM_ID)" --entitlements ./Ellosoft.AwsCredentialsManager.entitlements ./output-osx/aws-cred-mgr-osx-x64 | ||
- name: Notarize MacOS ARM Binaries | ||
env: | ||
APPLE_DEV_ID: ${{ secrets.APPLE_DEV_ID }} | ||
APPLE_DEV_PASSWORD: ${{ secrets.APPLE_DEV_PASSWORD }} | ||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} | ||
run: | | ||
cd output-osxarm | ||
zip aws-cred-mgr-osx-arm64.zip aws-cred-mgr-osx-arm64 | ||
xcrun notarytool submit aws-cred-mgr-osx-arm64.zip --apple-id $APPLE_DEV_ID --password $APPLE_DEV_PASSWORD --team-id $APPLE_TEAM_ID --wait | ||
- name: Notarize MacOS x64 Binaries | ||
env: | ||
APPLE_DEV_ID: ${{ secrets.APPLE_DEV_ID }} | ||
APPLE_DEV_PASSWORD: ${{ secrets.APPLE_DEV_PASSWORD }} | ||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} | ||
run: | | ||
cd output-osx | ||
zip aws-cred-mgr-osx-x64.zip aws-cred-mgr-osx-x64 | ||
xcrun notarytool submit aws-cred-mgr-osx-x64.zip --apple-id $APPLE_DEV_ID --password $APPLE_DEV_PASSWORD --team-id $APPLE_TEAM_ID --wait | ||
- name: Generate artifact attestation | ||
uses: actions/attest-build-provenance@v1 | ||
with: | ||
type: "zip" | ||
directory: win-output/ | ||
path: aws-cred-mgr.exe | ||
filename: aws-cred-mgr-${{ github.ref_name }}-win-x64.zip | ||
subject-path: | | ||
output-win/aws-cred-mgr-win-x64.exe | ||
output-osx/aws-cred-mgr-osx-x64 | ||
output-osxarm/aws-cred-mgr-osx-arm64 | ||
- name: Create Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
generate_release_notes: true | ||
prerelease: ${{ contains(github.ref_name, 'beta') }} | ||
files: win-output/aws-cred-mgr-${{ github.ref_name }}-win-x64.zip | ||
files: | | ||
output-win/aws-cred-mgr-win-x64.zip | ||
output-win/aws-cred-mgr-win-x64.exe | ||
output-osxarm/aws-cred-mgr-osx-arm64 | ||
output-osx/aws-cred-mgr-osx-x64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,3 +396,6 @@ FodyWeavers.xsd | |
|
||
# JetBrains Rider | ||
*.sln.iml | ||
|
||
#Output folder for release | ||
output-*/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.security.cs.allow-jit</key> | ||
<true/> | ||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key> | ||
<true/> | ||
<key>com.apple.security.cs.allow-dyld-environment-variables</key> | ||
<true/> | ||
<key>com.apple.security.cs.disable-library-validation</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.