Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533528 - kde-apps/krdc-4.14.3 with net-misc/freerdp-1.2.0_beta1_pre20141115 - [com.freerdp.client.x11] - Do you trust the above certificate? (Y/N)
Summary: kde-apps/krdc-4.14.3 with net-misc/freerdp-1.2.0_beta1_pre20141115 - [com.fre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: Fixed in 14.12.1
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-25 17:55 UTC by Marshall Banana
Modified: 2015-08-26 12:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marshall Banana 2014-12-25 17:55:28 UTC
when having net-misc/freerdp-1.2.0_beta1_pre20141115 installed and trying to open a remote rdp connection "nothing" happens i.e. the screen stays blue...
when putting this freerdp verison in my package.mask and using the previous version freerdp-1.1.0_beta1_p20130710-r2 everything works perfectly...

when invoking xfreerdp /u:myusername /v:remotepcname directly i first got asked if i wanted to trust the security certificate (i'll post the output below) but otherwise it worked. afterwards i wasn't asked again if i want to trust the cert...

xfreerdp /u:myusername /v:remotepcname
[18:38:06:104] [4207:987473664] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[18:38:06:104] [4207:987473664] [ERROR][com.freerdp.crypto] - @           WARNING: CERTIFICATE NAME MISMATCH!           @
[18:38:06:104] [4207:987473664] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[18:38:06:104] [4207:987473664] [ERROR][com.freerdp.crypto] - The hostname used for this connection (remotepcname) 
[18:38:06:104] [4207:987473664] [ERROR][com.freerdp.crypto] - does not match the name given in the certificate:
[18:38:06:104] [4207:987473664] [ERROR][com.freerdp.crypto] - Common Name (CN):
[18:38:06:104] [4207:987473664] [ERROR][com.freerdp.crypto] -   remotepcname.domain.suffix
[18:38:06:104] [4207:987473664] [ERROR][com.freerdp.crypto] - A valid certificate for the wrong name should NOT be trusted!
[18:38:06:104] [4207:987473664] [INFO][com.freerdp.client.x11] - Certificate details:
[18:38:06:104] [4207:987473664] [INFO][com.freerdp.client.x11] -        Subject: CN = remotepcname.domain.suffix
[18:38:06:104] [4207:987473664] [INFO][com.freerdp.client.x11] -        Issuer: CN = remotepcname.domain.suffix
[18:38:06:104] [4207:987473664] [INFO][com.freerdp.client.x11] -        Thumbprint: bla
[18:38:06:104] [4207:987473664] [INFO][com.freerdp.client.x11] - The above X.509 certificate could not be verified, possibly because you do not have the CA certificate in your certificate store, or the certificate has expired. Please look at the documentation on how to create local certificate store for a private CA.
[18:38:06:104] [4207:987473664] [INFO][com.freerdp.client.x11] - Do you trust the above certificate? (Y/N) 


anything more i can try to help pinpoint the actual error or is this enough info for this ticket?

Reproducible: Always




emerge --info
Portage 2.2.15 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.20, 3.17.4-gentoo x86_64)
=================================================================
System uname: Linux-3.17.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:     7869352 total,   6267144 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Thu, 25 Dec 2014 16:30:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30-r1
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://de-mirror.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="de_DE.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cli consolekit cracklib crypt cxx dbus directfb dri dts dvd encode exif fam fbcon ffmpeg firefox flac fortran gdbm gif glamor gpm iconv ipv6 jpeg kde keymap lcms libnotify mad mmx mng modules mp3 mp4 mpeg mplayer multilib ncurses nls nocd nptl nsplugin ogg opengl openmp pam pango pcre pdf plasma png policykit qt3support qt4 rdesktop readline sdl session smp spell sse sse2 sse3 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upnp upower usb v4l vorbis wifi wxwidgets x264 xcb xml xorg xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-26 11:08:18 UTC
[com.freerdp.client.x11] - Do you trust the above certificate? (Y/N)

Do you?
Comment 2 Michael Palimaka (kensington) gentoo-dev 2014-12-26 15:41:37 UTC
Here's a patch you could try, which replaces the existing patch in the ebuild: https://bugsfiles.kde.org/attachment.cgi?id=89881
Comment 3 Marshall Banana 2014-12-29 08:28:03 UTC
quickly tried that by
a) replace krdc/files/bla.patch with this one
b) ebuild krdc-bla.ebuild manifest
c) remove mask for newest xfreerdp and upgrade it
d) rebuild krdc

no luck so far... gonna play around with it later once more when i have time
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2015-08-26 12:03:15 UTC
Thanks for reporting. This is fixed in git now. Please sync.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb976271cf5c403b0b9ba2f2ab7d18aacb429737