Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for validateClientKeyIsTrusted (0.13 seconds)

  1. cmd/sftp-server.go

    		}
    	}
    
    internalAuth:
    	ui, ok := globalIAMSys.GetUser(context.Background(), user)
    	if !ok {
    		return nil, errNoSuchUser
    	}
    
    	if globalSFTPTrustedCAPubkey != nil && pass == nil {
    		err := validateClientKeyIsTrusted(c, key)
    		if err != nil {
    			return nil, errAuthentication
    		}
    	} else {
    		// Temporary credentials are not allowed.
    		if ui.Credentials.IsTemp() {
    			return nil, errAuthentication
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top