Closed chrnorm closed 2 years ago
Working through some testing here, as we suspect https://github.com/common-fate/granted/commit/da54a021e4cf790c62954a0196e20f39d119dc44 may be the commit which broke things.
amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2
[ec2-user@ip-10-0-11-47 ~]$ cat ~/.granted/config
DefaultBrowser = "FIREFOX_STDOUT"
CustomBrowserPath = ""
CustomSSOBrowserPath = ""
LastCheckForUpdates = 3
Ordering = ""
ExportCredentialSuffix = ""
[ec2-user@ip-10-0-11-47 ~]$ assume --verbose demo-sandbox1
2022/09/21 11:42:52 [keyring] Considering backends: [keyctl pass file]
2022/09/21 11:42:52 [keyring] Failed backend keyctl: accessing "" keyring failed: unknown scope ""
2022/09/21 11:42:52 [keyring] Failed backend pass: The pass program is not available
DEBUG: GetValidCachedToken: The specified item could not be found in the keyring
DEBUG: starting update check
If browser is not opened automatically, please open link:
https://device.sso.ap-southeast-2.amazonaws.com/?user_code=RRWB-VVXZ
DEBUG: exec: "xdg-open,x-www-browser,www-browser": executable file not found in $PATH
Awaiting authentication in the browser...
2022/09/21 11:43:17 [keyring] Considering backends: [keyctl pass file]
2022/09/21 11:43:17 [keyring] Failed backend keyctl: accessing "" keyring failed: unknown scope ""
2022/09/21 11:43:17 [keyring] Failed backend pass: The pass program is not available
[ec2-user@ip-10-0-11-47 ~]$ cat ~/.granted/config
DefaultBrowser = "FIREFOX_STDOUT"
CustomBrowserPath = ""
CustomSSOBrowserPath = ""
LastCheckForUpdates = 3
Ordering = ""
ExportCredentialSuffix = ""
[Keyring]
Backend = "file"
[ec2-user@ip-10-0-11-47 ~]$ assume --verbose demo-sandbox1
2022/09/21 11:50:30 [keyring] Considering backends: [file]
? Enter passphrase to unlock "/home/ec2-user/.granted/cred-store" DEBUG: starting update check
[demo-sandbox1](ap-southeast-2) session credentials will expire 2022-09-21 12:50:33 +0000 UTC
curl -OL releases.commonfate.io/granted/v0.1.12/granted_0.1.12_linux_arm64.tar.gz
sudo tar -zxvf ./granted_0.1.12_linux_arm64.tar.gz -C /usr/local/bin/
[ec2-user@ip-10-0-11-47 ~]$ cat ~/.granted/config
DefaultBrowser = "FIREFOX_STDOUT"
CustomBrowserPath = ""
LastCheckForUpdates = 0
[ec2-user@ip-10-0-11-47 ~]$ assume --verbose demo-sandbox1
2022/09/21 11:55:46 [keyring] Considering backends: [keyctl pass file]
2022/09/21 11:55:46 [keyring] Failed backend keyctl: accessing "" keyring failed: unknown scope ""
2022/09/21 11:55:46 [keyring] Failed backend pass: The pass program is not available
? Enter passphrase to unlock "/home/ec2-user/.granted/cred-store" DEBUG: starting update check
DEBUG: connecting to update checker
DEBUG: connected to update checker
[demo-sandbox1](ap-southeast-2) session credentials will expire 2022-09-21 12:55:51 +0000 UTC
[ec2-user@ip-10-0-11-47 ~]$ cat ~/.granted/config
DefaultBrowser = "FIREFOX_STDOUT"
CustomBrowserPath = ""
CustomSSOBrowserPath = ""
LastCheckForUpdates = 3
Ordering = ""
ExportCredentialSuffix = ""
[Keyring]
Backend = "file"
[ec2-user@ip-10-0-11-47 ~]$ assume --verbose demo-sandbox1
2022/09/21 11:54:32 [keyring] Considering backends: [file]
? Enter passphrase to unlock "/home/ec2-user/.granted/cred-store" DEBUG: starting update check
[demo-sandbox1](ap-southeast-2) session credentials will expire 2022-09-21 12:54:34 +0000 UTC
Reported via our community Slack: