[PR #3717] [MERGED] prompt to display and add local ollama keys to account #73558

Closed
opened 2026-05-05 05:26:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3717
Author: @BruceMacD
Created: 4/18/2024
Status: Merged
Merged: 4/30/2024
Merged by: @BruceMacD

Base: mainHead: brucemacd/add-key


📝 Commits (10+)

  • f6880cf prompt to display and add local ollama keys to account
  • 29125ce fix lint err check
  • f5748f6 suppress lint warning
  • 1a3b820 simplify public key not registered check
  • 8b7dd0c remove unneeded info log
  • 95dda54 go mod tidy
  • 014ebde account for ollama.com host
  • 35e54a2 check pub key validity before returning
  • db572d9 fix build problems
  • 1fb4008 PR feedback

📊 Changes

4 files changed (+155 additions, -7 deletions)

View changed files

📝 auth/auth.go (+33 -3)
📝 cmd/cmd.go (+58 -0)
📝 server/images.go (+46 -4)
types/errtypes/errtypes.go (+18 -0)

📄 Description

  • return descriptive error messages when unauthorized to create blob or push a model
  • display the local public key associated with the request that was denied

🔄 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/3717 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 4/18/2024 **Status:** ✅ Merged **Merged:** 4/30/2024 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/add-key` --- ### 📝 Commits (10+) - [`f6880cf`](https://github.com/ollama/ollama/commit/f6880cf2b9a1ca91e8d36c11ca2502a243034d90) prompt to display and add local ollama keys to account - [`29125ce`](https://github.com/ollama/ollama/commit/29125ced81fc54d247aac47daeda740267d393d3) fix lint err check - [`f5748f6`](https://github.com/ollama/ollama/commit/f5748f665ebfd88a3ad7c0c27090dceca317759f) suppress lint warning - [`1a3b820`](https://github.com/ollama/ollama/commit/1a3b820b6ffdc4a5bf17ef7ef68b058c909d7cfd) simplify public key not registered check - [`8b7dd0c`](https://github.com/ollama/ollama/commit/8b7dd0c6d2a29329c680eafa4c6e87458469d7ce) remove unneeded info log - [`95dda54`](https://github.com/ollama/ollama/commit/95dda54a720dc38e4aff7c0bfe7ec9392b77e426) go mod tidy - [`014ebde`](https://github.com/ollama/ollama/commit/014ebde14fc315b771b50f5d938d389a568afb72) account for ollama.com host - [`35e54a2`](https://github.com/ollama/ollama/commit/35e54a23a43c97c4676d7a72ba519339989cdc70) check pub key validity before returning - [`db572d9`](https://github.com/ollama/ollama/commit/db572d9cc8c265ef3579ba0644df8fb19effbe71) fix build problems - [`1fb4008`](https://github.com/ollama/ollama/commit/1fb400855577d2d5c450a5e28c65669eb2e7e6e5) PR feedback ### 📊 Changes **4 files changed** (+155 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `auth/auth.go` (+33 -3) 📝 `cmd/cmd.go` (+58 -0) 📝 `server/images.go` (+46 -4) ➕ `types/errtypes/errtypes.go` (+18 -0) </details> ### 📄 Description - return descriptive error messages when unauthorized to create blob or push a model - display the local public key associated with the request that was denied --- <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-05-05 05:26:27 -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#73558