Skip to content

Conversation

@dynco-nym
Copy link
Contributor

@dynco-nym dynco-nym commented Nov 13, 2024

  • NS Agent authenticates with key that was registered with NS API
  • added flag to Agent to generate keypairs
  • agent requests are signed by agent
  • server-side requests are checked for authentication

This change is Reviewable

@dynco-nym dynco-nym added this to the Magura milestone Nov 13, 2024
@dynco-nym dynco-nym requested review from jstuczyn and octol November 13, 2024 11:07
@vercel
Copy link

vercel bot commented Nov 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-nextra ⬜️ Ignored (Inspect) Visit Preview Nov 20, 2024 11:21pm
nym-explorer ⬜️ Ignored (Inspect) Visit Preview Nov 20, 2024 11:21pm
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Nov 20, 2024 11:21pm

@dynco-nym dynco-nym force-pushed the dz-agent-auth branch 3 times, most recently from 659e1a0 to ac0e840 Compare November 13, 2024 15:14
@benedettadavico benedettadavico changed the base branch from release/2024.13-magura to develop November 18, 2024 11:47
@benedettadavico benedettadavico modified the milestones: Magura, Crunch Nov 18, 2024
- also adjust agent run script to authenticate, even in parallel
- moved agent API calls to Client struct
- introduce a new column last_assigned which is different than
  created_at so that stale testruns get cleaned up based on
  last_assigned
- created_at is still useful for determining the "oldest" testrun
  to be picked up
Copy link
Contributor

@jstuczyn jstuczyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 it

- remove assigned_agent column
- remove logic which would stop agents with
  the same key to connect
- as a safety measure, add cap to total no. of agents
@dynco-nym dynco-nym merged commit 3f072e4 into develop Nov 21, 2024
14 of 15 checks passed
@dynco-nym dynco-nym deleted the dz-agent-auth branch November 21, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants