Questions tagged [credentials]

Credentials in information systems are widely used to control access to information or other resources. The classic combination of a user account number or name and a secret password is a widely-used example of IT credentials.

Credentials in cryptography establish the identity of a party to communication. Usually they take the form of machine-readable cryptographic keys and/or passwords. Cryptographic credentials may be self-issued, or issued by a trusted third party; in many cases the only criterion for issuance is unambiguous association of the credential with a specific, real individual or other entity. Cryptographic credentials are often designed to expire after a certain period, although this is not mandatory. An x.509 certificate is an example of a cryptographic credential.

An increasing number of information systems use other forms of documentation of credentials, such as Biometrics: fingerprints, voice recognition, retinal scans, Facial recognition systems1 , or X.509, Public key certificate, and so on.

2698 questions
14
votes
3 answers

Safely storing encrypted credentials in django

I'm working on a python/django app which, among other things, syncs data to a variety of other services, including samba shares, ssh(scp) servers, Google apps, and others. As such, it needs to store the credentials to access these services. Storing…
askvictor
  • 3,621
  • 4
  • 32
  • 45
13
votes
1 answer

Python GAE urlfetch credentials

I'd like to know if the Google App Engine URL Fetch Python API does not support accessing URLs that have credentials: http://username:password@www.domain.com/ It should be a basic feature, but I cannot get it to work and could not find any…
raugfer
  • 1,844
  • 19
  • 19
13
votes
2 answers

Where should I store development credentials on a Spring Boot project?

Where should I store development credentials on a Spring Boot project so that they are not committed to the repository? What's the most standard way? In other frameworks (Rails, Clojure) I'm used to have a file that I do not commit to the repo where…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
13
votes
3 answers

Error connecting to Data Source in SSRS

I am trying to connect to Datasource but getting this error: An error occurred during local report processing. An error has occurred during report processing. Cannot create a connection to data source 'PO'. You have specified integrated security…
13
votes
5 answers

C# .net MVC, set path to Google Application Credentials JSON file

I've just got this Google Sample Project to work on my VS2015, However, after I published to "IIS" and host it, when I opened the link, the web page kept showing this message as the picture showed I added the key to the web.config, but still…
Steven Wang
  • 131
  • 1
  • 1
  • 6
13
votes
3 answers

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment

I'm running into a strange behavior with a powershell Start-Process call. Here is the call: $process = start-process ` "C:\somepath\MyBinary.exe" ` -PassThru ` -Credential $defaultCredential ` -Wait ` -WorkingDirectory …
John-Philip
  • 3,392
  • 2
  • 23
  • 52
13
votes
1 answer

git credential.helper=cache never forgets the password?

I want my password to be forgotten, so I have to type it again. I have setup this: git config credential.helper 'cache --timeout=600' but much later on, several days, it still remembers the password and does not ask me it again... git version…
Aquarius Power
  • 3,729
  • 5
  • 32
  • 67
13
votes
2 answers

SO_PEERCRED vs SCM_CREDENTIALS - why there are both of them?

SO_PEERCRED is simple way to get pid/uid/gid of connected AF_UNIX stream socket, SCM_CREDENTIALS is more or less the same, but more complex (various ancillary messages). Links to example showing both ways. Why there are two ways to get more or less…
Vi.
  • 37,014
  • 18
  • 93
  • 148
12
votes
2 answers

Unix socket credential passing in Python

How is Unix socket credential passing accomplished in Python?
Rakis
  • 7,779
  • 24
  • 25
12
votes
3 answers

How does `az login` store credential information?

I am wondering what happens when I am logging to azure using az login behind the scenes. I am still logged on for a long time, meaning that something is stored on the machine that allows access. Would it be possible for an adversary who gains access…
Ilya Chernomordik
  • 27,817
  • 27
  • 121
  • 207
12
votes
1 answer

Setting up mod_proxy to pass http authentication to server

I have a problem configuring Apache as a proxy server. At the moment I access a MS Sharepoint installation using domain.net over Port 80. Before being able to use it I have to enter username and password. So far so good. Now I want to be able to…
signpainter
  • 720
  • 1
  • 7
  • 22
12
votes
2 answers

How do I handle special chars in the credentials of the Symfony Mailer component in SMTP transport?

Context In Symfony 4.3 a new emailer was introduced. See here: https://symfony.com/blog/new-in-symfony-4-3-mailer-component https://symfony.com/doc/4.4/mailer.html. For the SMTP transport it is established that the DSN in the ENV var has this…
Xavi Montero
  • 9,239
  • 7
  • 57
  • 79
12
votes
5 answers

Calling WEB API with basic authentication in C#

I have a working WEB API that I wrote, and I added basic authentication to the API (username is "testing", password is "123456"). However, when trying to call that API from my web form, I keep getting the "(401) Unauthorized" message. What should I…
12
votes
7 answers

SVN won't cache credentials

I'm using the commandline svn client (version 1.6.12, from the Ubuntu repos) and I can't seem to get it to cache my user credentials. I'm trying to access an https svn repository (something along the lines of https://subversion.FAKE.com/PROJECT). My…
joek1010
  • 141
  • 1
  • 1
  • 6
12
votes
5 answers

"Run as different user" Visual Studio, cannot clear cached TFS credentials

Update I managed to solve it by getting my user granted permissions to remotely connect to the desktop using credential set 2 and thus being able to remove the stored credentials from Credential Manager. I log onto my server with one set of…
user557419