• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 14575348416
73%

Build:
DEFAULT BRANCH: master
Ran 21 Apr 2025 02:48PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 06 Dec 2025 02:43PM UTC via web
14575348416

push

github

web-flow
feat(rust): allow authenticating into multiple hosts (#2278)

## Problems

* #2261.
* Any connection problem is reported as an certificate problem when it
is not true. To make things worse, Agama asks the user whether to accept
an insecure connection (even if that's not the problem).
* Agama will perform an HTTP request even if it is not needed (e.g.,
`agama auth show`).

## Solution

### Storing one token per host

Instead of storing the token in `$HOME/.agama/token`, use a file
(`$HOME/.local/share/agama`) containing all tokens (one per host). For
instance:

```json
{
  "192.168.122.145": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NDUzMTg2MTV9.G36w8NQ-ZCAkCQGGwjajRpd8EfkOM8fFLLfGjzTAqP0"
}
```

### Do not ask for insecure connections

If there is a problem when connecting to the API, just report the error
(no matter whether it is an SSL problem or not). The user can use the
`--insecure` flag to disable certificate checks.

## Testing

- Added a new unit test
- Tested manually
Source Files on build 14575348416
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #14575348416
  • 3e7a15c6 on github
  • Prev Build on master (#14574490989)
  • Next Build on master (#14595498319)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc