[Openvas-devel] [openvas-Bugs][6314] SSH key passphrase field validation

noreply at wald.intevation.org noreply at wald.intevation.org
Tue Mar 20 12:01:19 CET 2012


Bugs item #6314, was opened at 2012-03-20 12:01 by vespian vespian
You can respond by visiting: 
https://wald.intevation.org/tracker/?func=detail&atid=220&aid=6314&group_id=29

Status: Open
Priority: 3
Submitted By: vespian vespian (vespian)
Assigned to: Nobody (None)
Summary: SSH key passphrase field validation 
Architecture: 64 Bit
Product: OpenVAS
Operating System: Linux
Component: gsa
Version: v3.0.2
Severity: normal
Resolution: None
Hardware: All
URL: 


Initial Comment:
Hi,


Would it be possible to add the SSH key passphrase field validation ? Currently it is possible to add a plain key (without a passphrase) and an encrypted key (but do not enter passphrase) with gsa. Using such credentials the scanner will not be able to log in to perform local checks, and the user is left puzzled with a log message:


[26394](/var/lib/openvas/plugins/ssh_authorization.nasl) gnutls_x509_privkey_import: Base64 unexpected header error. (-207)
[26440](/var/lib/openvas/plugins/tripwire.nasl) gnutls_x509_privkey_import: Base64 unexpected header error. (-207)


A simple JavaScript validation will do. 

Thanks in advance !

----------------------------------------------------------------------

You can respond by visiting: 
https://wald.intevation.org/tracker/?func=detail&atid=220&aid=6314&group_id=29


More information about the Openvas-devel mailing list