windows registry – Issue associating ms-powerpoint protocol to powerpoint

When trying to open powerpoint through sharepoint or teams I get an error that no application is associated to the protocol (ms-powerpoint). This seems to be true when I check in windows setting but when I try to associate ppt it doesn’t appear in my list of applications.

However I have office 2016 pro installed – the same version as on my other pc where it does work.

I’ve tried to figure out the progid to make the association manually in regristry but can’t figure it out.

Bitcoin Version Message Addrme/addryou Time Field missing + wrong protocol version

i was doing some research on the Bitcoin addrme / addryou I came across a coin which wanted 8 byte more as a Message. After quite some time looking at 3 wallets ZeroCoin/Raven/Bitcoin i got some results but i cannot understand the issue.

  1. I looked at the Bitcoin Documentation at https://en.bitcoin.it/wiki/Protocol_documentation#Network_address they mentioned there for the time field follwoing:
    4 time uint32 the Time (version >= 31402). Not present in version message.
    With the not present i was a little confused it is as desribed not present but if you lock at the logic you would think it should be present it compares the protocol Version to be greater than 31402.

Here is the ZeroCoin Wallet where i first saw the issue:

AE 5F 01 00 0D 00 00 00 00 00 00 00 B2 42 04 5F
00 00 00 00 00 E1 F5 05 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 FF FF 61 57 43 87
DC 76 00 E1 F5 05 0D 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
22 48 CA CC 0C 98 49 22 12 2F 53 61 74 6F 73 68
69 3A 30 2E 31 34 2E 30 2E 31 2F 9E 4F 04 00 01

See Here Decoding:
enter image description here

As you can see i needed to add the Timestamp into the message to make of for the 8 byte total longer message

Here is Ravencoin:

8C 11 01 00 0D 00 00 00 00 00 00 00 28 BA 03 5F
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 FF FF 61 57 43 87 ED A6 0D 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 0A 3D C3 23 3F B8 4D 38
25 2F 52 61 76 65 6E 63 6F 69 6E 3A 34 2E 32 2E
30 28 73 65 65 64 2E 72 61 76 65 6E 63 6F 69 6E
2E 6F 72 67 29 2F C9 F4 13 00 01

Ignore the fact that the strmessage is different it just cosmetic.
enter image description here

Here is Bitcoin

7F 11 01 00 09 04 00 00 00 00 00 00 27 44 04 5F
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 FF FF 61 57 43 87 DC A9 09 04
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 62 22 8D A8 33 26 00 47
10 2F 53 61 74 6F 73 68 69 3A 30 2E 32 30 2E 30
2F AC BC 09 00 01

Decodes to
enter image description here

So knowing all that information i added debug Code in 3 wallets:
into the Protocol.h (keep in mind that the syntax on raven and zerocoin is slightly different but the prints where at the same spots)

   SERIALIZE_METHODS(CAddress, obj)
    {
        SER_READ(obj, obj.nTime = TIME_INIT);
        int nVersion = s.GetVersion();
        if (s.GetType() & SER_DISK) {
            printf("nVersion %dn", nVersion);
            READWRITE(nVersion);
        } else {
            printf("Not evaluated nVersion %d Type %dn", nVersion, s.GetType());
        }
        if ((s.GetType() & SER_DISK) ||
            (nVersion >= CADDR_TIME_VERSION && !(s.GetType() & SER_GETHASH))) {
            READWRITE(obj.nTime);
            printf("nTime %dn", obj.nTime);
        } else {
            printf("Not evaluated nTime %dn", obj.nTime);
        }
        READWRITE(Using<CustomUintFormatter<8>>(obj.nServices));
        printf("nServicesInt %dn", obj.nServices);
        READWRITEAS(CService, obj);
    }

Ravencoins Output:

Receive addrMe
Not evaluated nVersion 209 Type 1
Not evaluated nTime 100000000
nServicesInt 0
Receive addrFrom
Not evaluated nVersion 209 Type 1
Not evaluated nTime 100000000
nServicesInt 13
IP:2020-07-07 09:55:24 receive version message: /Ravencoin:4.2.0(seed.ravencoin.org)/: version 70028, blocks=1308436, us=97.87.67.135:56651, peer=0

It skips Version and Time Reading

BTC’s

Receive addrMe
Not evaluated nVersion 209 Type 1
Not evaluated nTime 100000000
nServicesInt 0
Receive addrFrom
Not evaluated nVersion 209 Type 1
Not evaluated nTime 100000000
nServicesInt 1033
2020-07-07T01:35:08Z New outbound peer connected: version: 70015, blocks=638069, peer=1 (full-relay)

Same thing skip nVersion and nTime

ZeroCoin

Receive addrMe
Not evaluated nVersion 90013 Type 1
nTime 100000000
nServicesInt 0
Receive addrFrom
Not evaluated nVersion 90013 Type 1
nTime 100000000
nServicesInt 13
2020-07-07 10:01:38 receive version message: /Satoshi:0.14.0.2/: version 90030, blocks=282531, us=97.87.67.135:56726, peer=0

This one skips the nVersion cause the type doe not match however it reads the ntime cause it actual holds its protocol Version 90030.

Here are my Questions:

  1. Why does Bitcoin and ravencoin evaluates 219 as nVersion and not their protocol Version as seen with Zerocoin?
  2. Where is nVersion written the 219 i guess its part of the serialisation (i am not a c++ guy)
  3. Is that behaviour wanted that nTime is missing or is this a bug related to not checking against the corrent Protocol Number?

Thank you for your help
Sascha

windows 8 – Peer Name Resolution Protocol Error 2

I’m trying to enable the homegroup service of my Windows 8.0. But I got errors on the services required to run homegroup. All of the services are dependent to Peer Name Resolution Protocol Service (PNRPsvc).

I’m trying to start the particular service but it gives me an error

Error 2: The system cannot find the file specified

I’ve tried finding the particular .dll file that it uses. I can find it in C:/Windows/System32. But still it doesn’t start. What should I do?

Edit: I’ve tried to restart the machine but it still remain the same.

Attacks on EAP-AKA’ protocol (5g)

I’m doing research on authentication protocols and I’m analyzing the EAP-AKA’ protocol described in RFC 5448 that is one of the three protocols adopted in 5G. I would like to know if there are any known attacks to this protocol as I can’t find anything among the common research portals.

r – Protocol “sftp” not supported or disabled in libcurl (in Ubuntu Server)

Trying to upload via sftp and getting protocol disabled. I know this is based on a Ubuntu bug, and went through the steps to reinstall/update libssh2 and curl on the system. Reinstalled RCurl package from source and it is not recognizing the update on the system, and I don’t know why.

$ curl -V
curl 7.65.3 (x86_64-pc-linux-gnu) libcurl/7.65.3 OpenSSL/1.1.1 zlib/1.2.11 libssh2/1.9.0-20190820
Release-Date: 2019-07-19
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtp
Features: AsynchDNS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets

That’s shows sftp as one of the protocols

in R though, it does not include sftp, and the curl version does not match.

> libcurlVersion()
(1) "7.58.0"
attr(,"ssl_version")
(1) "OpenSSL/1.1.1"
attr(,"libssh_version")
(1) ""
attr(,"protocols")
 (1) "dict"   "file"   "ftp"    "ftps"   "gopher" "http"   "https"  "imap"
 (9) "imaps"  "ldap"   "ldaps"  "pop3"   "pop3s"  "rtmp"   "rtsp"   "smb"
(17) "smbs"   "smtp"   "smtps"  "telnet" "tftp"

and

> curl::curl_version()
$version
(1) "7.58.0"

$ssl_version
(1) "OpenSSL/1.1.1"

$libz_version
(1) "1.2.11"

$libssh_version
(1) NA

$libidn_version
(1) "2.0.4"

$host
(1) "x86_64-pc-linux-gnu"

$protocols
 (1) "dict"   "file"   "ftp"    "ftps"   "gopher" "http"   "https"  "imap"
 (9) "imaps"  "ldap"   "ldaps"  "pop3"   "pop3s"  "rtmp"   "rtsp"   "smb"
(17) "smbs"   "smtp"   "smtps"  "telnet" "tftp"

$ipv6
(1) TRUE

$http2
(1) TRUE

$idn
(1) TRUE

Server : Using Ubuntu 18.04.2 LTS

Error message I am getting in my code using RCurl::ftpUpload()

* Protocol "sftp" not supported or disabled in libcurl
* Closing connection -1
Error in function (type, msg, asError = TRUE)  :
  Protocol "sftp" not supported or disabled in libcurl

Doubly odd, is that this box is my RStudio Server. If I run the script manually, from the web interfact it works. This error only occurs when running from Ubuntu shell, as it needs to be a chron job.

AWS EC2 Linux 2 configuration for new PayID protocol

Hi, my first post here.

I’m new to Apache. Tried to learn as much as I can on my own, but have hit a brick wall.
PayID is a new universal payment protocol just released – more details at payid dot org. The objective is to enable sending of a variety of payments using just one human-readable address, of the form user$example.com.

I don’t want to run a full PayID server, just serve my own domain which I set up on an AWS EC2 AMI Linux 2 t2.micro instance.
Installed Apache 2.4 and ran Certbot to get SSL certificates for example.com and www.example.com. It happily serves my index.html page in a browser over the internet. SSL Labs gives both version of the domain A+. TLS 1.2 is the only HTTPS protocol accepted by my site. I also installed Node.js (latest stable version) and NVM.

I tried to follow Matt Hamilton’s example: https://dev.to/hammertoe/static-serving-payid-address-1eac
Edited httpd.conf along the lines he shows (only showing the non-standard sections here):

<VirtualHost InstancePublicIP:80>
    DocumentRoot "/var/www/html/example.com"
    ServerName "example.com"
    ServerAlias "www.example.com"
RewriteCond %{SERVER_NAME} =example.com (OR)
RewriteCond %{SERVER_NAME} =www.example.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} (END,NE,R=permanent)
</VirtualHost>

<VirtualHost InstancePublicIP:443>
    DocumentRoot "/var/www/html/example.com"
    ServerName example.com
    ServerAlias www.example.com

    Header always set Strict-Transport-Security "max-age=63072000; preload"

    SSLEngine on
    SSLProtocol             all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
    SSLCipherSuite          ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-$
    SSLHonorCipherOrder     off
    SSLSessionTickets       off

    SSLCertificateFile "/etc/letsencrypt/live/example.com/fullchain.pem"
    SSLCertificateKeyFile "/etc/letsencrypt/live/example.com/privkey.pem"

    ErrorDocument 404 /404.html

    # PayID
    RewriteEngine On
    RewriteCond "%{HTTP_ACCEPT}" "application/xrpl-mainnet+json"
    RewriteRule ^(.+) /.pay/$1.json (L)
   
</VirtualHost>

Code (ApacheConf):

And in /var/www/html/example.com/.pay I have a file payme.json:
SEMrush

{
  "addresses": (
    {
      "paymentNetwork": "XRPL",
      "environment": "MAINNET",
      "addressDetailsType": "CryptoAddressDetails",
      "addressDetails": {
        "address": "rVcktW*********************************"
      }
    }
  ),
  "payId": "payme$example.com"
  }

Code (JavaScript):

Permissions are set to 755 for the .pay folder and 644 for the json file.

The HTTP to HTTPS rewrite seems to work. PayID mandates use of HTTPS, so it shouldn’t be trying to access port 80 anyway.

The problem is that Xumm, an app that is happy to send XRP to PayID addresses, will not recognise my payme$example.com address, whereas it recognises Matt’s address and others. I also tried on a crypto exchange that uses PayID – still no joy, so it’s not the Xumm app at fault.

There is a PayID validator site: https://payidvalidator.com/
Entering my address yields the following result:

Validation Results
Score 0%
HTTP Status Code
Value
404
Result
Fail
Message
-
Header Check / Access-Control-Allow-Origin
Value
Result
Fail
Message
The header could not be located in the response.
Header Check / Access-Control-Allow-Methods
Value
Result
Fail
Message
The header could not be located in the response.
Header Check / Access-Control-Allow-Headers
Value
Result
Fail
Message
The header could not be located in the response.
Header Check / Access-Control-Expose-Headers
Value
Result
Fail
Message
The header could not be located in the response.

Code (markup):

It’s a pretty comprehensive disaster! I must be doing something very wrong. Any help appreciated!

 

What protocol does modern (Office365) Outlook use to talk to Gmail? It’s not using POP or IMAP

Today I was helping a user with an Outlook issue and I tried checking to see what protocol Outlook was using to connect with G-suite Gmail (i.e. Gmail for organizations).

This user’s account has POP and IMAP turned off and it’s on a Mac, so it’s not using the Gsuite sync tool.

The user set it up by just telling Outlook to connect to a Google account. I had thought this used IMAP and I believe it did in the past.

Any ideas?