Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateKey (0.06 sec)

  1. cmd/sftp-server.go

    		}
    	}
    
    internalAuth:
    	ui, ok := globalIAMSys.GetUser(context.Background(), user)
    	if !ok {
    		return nil, errNoSuchUser
    	}
    
    	if caPublicKey != nil && pass == nil {
    		err := validateKey(c, key)
    		if err != nil {
    			return nil, errAuthentication
    		}
    	} else {
    		// Temporary credentials are not allowed.
    		if ui.Credentials.IsTemp() {
    			return nil, errAuthentication
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top