[PR #324] [MERGED] Generate private/public keypair for use w/ auth #15372

Closed
opened 2026-04-16 04:57:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/324
Author: @pdevine
Created: 8/10/2023
Status: Merged
Merged: 8/11/2023
Merged by: @pdevine

Base: mainHead: keypair


📝 Commits (2)

  • b150b06 generate private/public keypair for use w/ auth
  • 03c06f1 fix keypair initialization

📊 Changes

2 files changed (+237 additions, -0 deletions)

View changed files

📝 cmd/cmd.go (+54 -0)
format/openssh.go (+183 -0)

📄 Description

This change automatically creates a new OpenSSH compatible ed25519 key pair in your ~/.ollama directory. The public key can be uploaded to Ollama and can be subsequently used to authenticate.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/324 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 8/10/2023 **Status:** ✅ Merged **Merged:** 8/11/2023 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `keypair` --- ### 📝 Commits (2) - [`b150b06`](https://github.com/ollama/ollama/commit/b150b06382bf042498816e49aed34ce65004905d) generate private/public keypair for use w/ auth - [`03c06f1`](https://github.com/ollama/ollama/commit/03c06f1e469c9e20ffb727bd8a60e138ab36ee07) fix keypair initialization ### 📊 Changes **2 files changed** (+237 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+54 -0) ➕ `format/openssh.go` (+183 -0) </details> ### 📄 Description This change automatically creates a new OpenSSH compatible ed25519 key pair in your `~/.ollama` directory. The public key can be uploaded to Ollama and can be subsequently used to authenticate. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 04:57:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#15372