Skip to content

ssh-import-id 5.13 - GitLab Support

Latest

Choose a tag to compare

@dustinkirkland dustinkirkland released this 16 Feb 01:01

ssh-import-id 5.13

πŸŽ‰ New Features

GitLab Support

This release adds comprehensive GitLab support to ssh-import-id!

  • βœ… New gl: prefix - Import keys from GitLab users
  • βœ… GitLab.com support - Works out of the box
  • βœ… Self-hosted GitLab - Use GITLAB_URL environment variable
  • βœ… Wrapper script - New ssh-import-id-gl command
  • βœ… Multi-platform - Mix GitHub, GitLab, and Launchpad in one command

πŸ“– Usage

Basic Usage

# Import from GitLab.com
ssh-import-id gl:username

# Import from self-hosted GitLab
GITLAB_URL=https://gitlab.company.com ssh-import-id gl:username

# Mix multiple platforms
ssh-import-id gh:alice lp:bob gl:charlie

Using the Wrapper Script

ssh-import-id-gl username

πŸ”§ Technical Details

  • Uses GitLab's standard <instance>/<username>.keys endpoint
  • HTTPS with SSL/TLS certificate validation
  • 15-second timeout for network requests
  • Proper error handling for 404 and network errors
  • Keys tagged with @gitlab identifier

πŸ›‘οΈ Security

This release builds on v5.12 which included critical security fixes:

  • Command injection prevention in shell wrappers
  • Format string vulnerability fixes
  • Path traversal protection

All users should upgrade to 5.13 or later.

πŸ™ Acknowledgments

Special thanks to:

πŸ“¦ Installation

# Ubuntu/Debian
sudo apt install ssh-import-id

# PyPI
pip install ssh-import-id

# From source
git clone https://github.com/dustinkirkland/ssh-import-id.git
cd ssh-import-id
sudo python3 setup.py install

πŸ”— Links


Released: February 15, 2026
Commit: dbaaaf1